package com.test.mywebtest.controller;


import com.fasterxml.jackson.databind.ObjectMapper;
import com.test.mywebtest.jhgd.domain.GDFileVo;
import com.test.mywebtest.jhgd.domain.GDVo;
import com.test.mywebtest.jhgd.domain.GDYJVo;
import com.test.mywebtest.jhgd.util.GDUtil;
import com.test.mywebtest.jhgd.util.MD5Util;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.client.RestTemplate;

import java.io.*;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.zip.ZipOutputStream;

@RestController
@RequestMapping("/gd")
public class GuidangController {

    @Autowired
    private RestTemplate restTemplate;


    @GetMapping("/gd")
    public String gd() throws Exception {

        ObjectMapper objectMapper = new ObjectMapper();

        String d = "{\"msg\":\"success\",\"code\":20000,\"data\":{\"is_read\":\"1\",\"data\":{\"drafter_id\":\"c51997efc72f4e3192369efa6ed282c9\",\"fa_wen_xing_shi\":null,\"workflow_name\":null,\"zhu_song_ji_guan_id\":\"\",\"bao_mi_qi_xian\":null,\"nian_fen\":null,\"is_jing_fu\":null,\"is_omp\":\"0\",\"drafter_date\":\"2024-03-19 14:46:25\",\"chao_song_ji_guan_ss\":\"2\",\"document_header\":\"京沪高速铁路股份有限公司\",\"yin_fa_ri_qi\":null,\"fa_wen_wen_hao\":null,\"drafter_telephone\":\"010-1234567\",\"archived_date\":null,\"qian_bao_zi_hao\":null,\"fa_wen_ji_guan\":null,\"fa_wen_ri_qi\":null,\"is_open\":null,\"jin_yue\":null,\"bei_an_shen_cha_depart\":null,\"object_id\":\"457e674d13c24122a95d0abbe1c396d6\",\"drafter_name\":\"华夏\",\"gong_wen_bie_ming\":null,\"zhu_ti_ci\":null,\"is_lock\":\"0\",\"fu_zhu\":\"备注\",\"ti_jiao_shen_fen\":null,\"bei_an_shen_cha\":null,\"serial_no\":null,\"lai_wen_bian_hao\":null,\"fen_shu\":null,\"drafter_mobile\":null,\"zhu_ban_bu_men\":null,\"wen_zhong\":null,\"wen_jian_ri_qi\":\"2024-03-19 16:20:52\",\"zhu_song_ji_guan_id_ss\":null,\"ban_li_shi_xian\":null,\"chao_song_ji_guan_id_ss\":null,\"nei_bu\":null,\"hui_qian_bu_men\":\"\",\"jie_zhi_shi_jian\":null,\"hui_qian_bu_men_id\":\"\",\"workflow_code\":\"jh_sjyjs_fawen\",\"fa_wen_dai_zi\":\"审计意见\",\"is_professional_approval\":\"yes\",\"he_fa_xing_shen_cha\":null,\"yin_zhang\":null,\"omp_name\":null,\"is_zhan_hao\":\"0\",\"bei_an_shuo_ming\":null,\"jin_ji_cheng_du\":\"emergency_2\",\"fa_wen_lei_bie\":null,\"ji_shu_wen_jian\":null,\"mi_mi_deng_ji\":null,\"du_ban_name\":\"刘洪润\",\"du_ban_state\":\"已督办\",\"gui_zhang_shuo_ming\":null,\"cheng_wen_ri_qi\":null,\"fu_ze_ren\":null,\"wen_jian_ye_shu\":null,\"dian_hua\":null,\"qian_fa_ren_name\":null,\"ban_wen_yi_ju\":null,\"zhu_song_ji_guan\":\"\",\"number_id\":\"a84c309fab7b4affa5cb8e313648d44c\",\"wen_jian\":null,\"drafter_depart\":\"党群工作部\",\"number_type\":\"fawen\",\"zhu_ban_bu_men_name\":null,\"qian_fa_ren\":null,\"fa_wen_zi_hao\":\"3\",\"finish_date\":null,\"lai_wen_dan_wei\":null,\"shen_gao\":null,\"shou_wen_bian_hao\":null,\"cheng_pi_jian_yi\":null,\"chao_song_ji_guan_id\":\"\",\"zheng_gong_bu_men\":null,\"is_inside\":\"yes\",\"fen_hao\":null,\"bao_song\":null,\"instance_id\":\"836c53f8-544c-449a-a4be-de885910de46\",\"ban_li_shi_chang\":null,\"is_archived\":null,\"lian_xi_ren\":null,\"fa_wen_bian_hao\":\"审计意见〔2024〕3号\",\"lock_user_massage\":null,\"chao_song_ji_guan\":\"\",\"lai_wen_zi_hao\":null,\"hui_yi_qi_shu\":null,\"zhu_song_ji_guan_ss\":\"1\",\"fei_wen_biao_shi\":null,\"drafter_basic_depart_name\":\"党群工作部\",\"gong_kai\":null,\"ban_gong_shi_he_gao\":null,\"fu_jian\":null,\"is_direct\":null,\"attachmentList\":[{\"file_path\":\"/2024/3/19/documentfile_1710836306723.docx\",\"show_name\":\"1710830994401.docx\",\"bucket_name\":\"documentfile\",\"real_name\":\"（2024-03-19 16:37:52）痕迹稿-排版前1-京沪测试20240319审计意见书输入内容 测试~！@＃￥％……&＊（）——+{}｜：“”《》+－？.docx\",\"document_id\":\"457e674d13c24122a95d0abbe1c396d6\",\"object_id\":\"77dc868d373c42bc90da75914042dea2\",\"file_size\":27627,\"service_table\":\"oa_jh_fawen\",\"file_category\":\"mark\",\"original_flag\":null,\"create_by\":\"zhc\",\"sort_number\":\"1\",\"file_uuid\":\"4c11b45b32ff41be8e65c3c6d2e384db\",\"is_convert\":0,\"original_id\":null,\"create_date\":\"2024-03-19 16:37:52\",\"old_file_id\":\"966863f0caf2462fa2761c653a1e7b00\"},{\"file_path\":\"/2024/3/19/documentfile_1710837472174.docx\",\"show_name\":\"1710837472203.docx\",\"bucket_name\":\"documentfile\",\"real_name\":\"文单套红原始稿-京沪测试20240319审计意见书输入内容 测试~！@＃￥％……&＊（）——+{}｜：“”《》+－？.docx\",\"document_id\":\"457e674d13c24122a95d0abbe1c396d6\",\"object_id\":\"b0c773506fec4e639d37fabde7afcedf\",\"file_size\":null,\"service_table\":\"oa_jh_fawen\",\"file_category\":\"mark\",\"original_flag\":null,\"create_by\":\"zhc\",\"sort_number\":\"1\",\"file_uuid\":\"4c11b45b32ff41be8e65c3c6d2e384db\",\"is_convert\":0,\"original_id\":null,\"create_date\":\"2024-03-19 16:40:35\",\"old_file_id\":\"77dc868d373c42bc90da75914042dea2\"},{\"file_path\":\"/2024/3/19/documentfile_1710837634988.docx\",\"show_name\":\"1710837635015.docx\",\"bucket_name\":\"documentfile\",\"real_name\":\"文单套红原始稿-京沪测试20240319审计意见书输入内容 测试~！@＃￥％……&＊（）——+{}｜：“”《》+－？.docx\",\"document_id\":\"457e674d13c24122a95d0abbe1c396d6\",\"object_id\":\"5807ca65753c4c9f873fc8f67f88e8a0\",\"file_size\":null,\"service_table\":\"oa_jh_fawen\",\"file_category\":\"mark\",\"original_flag\":null,\"create_by\":\"zhc\",\"sort_number\":\"1\",\"file_uuid\":\"4c11b45b32ff41be8e65c3c6d2e384db\",\"is_convert\":0,\"original_id\":null,\"create_date\":\"2024-03-19 16:41:03\",\"old_file_id\":\"b0c773506fec4e639d37fabde7afcedf\"},{\"file_path\":\"/2024/3/19/documentfile_1710837663759.docx\",\"show_name\":\"1710837663786.docx\",\"bucket_name\":\"documentfile\",\"real_name\":\"（2024-03-19 16:41:27）痕迹稿-排版前2-京沪测试20240319审计意见书输入内容 测试~！@＃￥％……&＊（）——+{}｜：“”《》+－？.docx\",\"document_id\":\"457e674d13c24122a95d0abbe1c396d6\",\"object_id\":\"cbaf91b1246242f29a5daaca754a6f07\",\"file_size\":null,\"service_table\":\"oa_jh_fawen\",\"file_category\":\"mark\",\"original_flag\":null,\"create_by\":\"zhc\",\"sort_number\":\"1\",\"file_uuid\":\"4c11b45b32ff41be8e65c3c6d2e384db\",\"is_convert\":0,\"original_id\":null,\"create_date\":\"2024-03-19 16:41:27\",\"old_file_id\":\"5807ca65753c4c9f873fc8f67f88e8a0\"},{\"file_path\":\"/2024/3/19/documentfile_1710837687612.docx\",\"show_name\":\"1710837687644.docx\",\"bucket_name\":\"documentfile\",\"real_name\":\"文单套红原始稿-京沪测试20240319审计意见书输入内容 测试~！@＃￥％……&＊（）——+{}｜：“”《》+－？.docx\",\"document_id\":\"457e674d13c24122a95d0abbe1c396d6\",\"object_id\":\"a94b884ec54f49529005c26ee7e145fd\",\"file_size\":null,\"service_table\":\"oa_jh_fawen\",\"file_category\":\"mark\",\"original_flag\":null,\"create_by\":\"zhc\",\"sort_number\":\"1\",\"file_uuid\":\"4c11b45b32ff41be8e65c3c6d2e384db\",\"is_convert\":0,\"original_id\":null,\"create_date\":\"2024-03-19 16:42:05\",\"old_file_id\":\"cbaf91b1246242f29a5daaca754a6f07\"},{\"file_path\":\"/2024/3/19/documentfile_1710837725042.docx\",\"show_name\":\"1710837725071.docx\",\"bucket_name\":\"documentfile\",\"real_name\":\"京沪测试20240319审计意见书输入内容 测试~！@＃￥％……&＊（）——+{}｜：“”《》+－？.docx\",\"document_id\":\"457e674d13c24122a95d0abbe1c396d6\",\"object_id\":\"b4c6213aa1fa4de8a0f1669406076661\",\"file_size\":null,\"service_table\":\"oa_jh_fawen\",\"file_category\":\"mainBody\",\"original_flag\":null,\"create_by\":\"zhc\",\"sort_number\":\"1\",\"file_uuid\":\"4c11b45b32ff41be8e65c3c6d2e384db\",\"is_convert\":1,\"original_id\":null,\"create_date\":\"2024-03-19 17:10:10\",\"old_file_id\":\"a94b884ec54f49529005c26ee7e145fd\"},{\"file_path\":\"/2024/3/19/documentfile_1710830784568.docx\",\"show_name\":\"documentfile_1710830784568.docx\",\"bucket_name\":\"documentfile\",\"real_name\":\"原始稿-京沪测试20240319审计意见书输入内容 测试~！@＃￥％……&＊（）——+{}｜：“”《》+－？.docx\",\"document_id\":\"457e674d13c24122a95d0abbe1c396d6\",\"object_id\":\"966863f0caf2462fa2761c653a1e7b00\",\"file_size\":14891,\"service_table\":\"oa_jh_fawen\",\"file_category\":\"mark\",\"original_flag\":null,\"create_by\":\"华夏\",\"sort_number\":\"1\",\"file_uuid\":\"4c11b45b32ff41be8e65c3c6d2e384db\",\"is_convert\":0,\"original_id\":null,\"create_date\":\"2024-03-19 14:49:54\",\"old_file_id\":null},{\"file_path\":\"/2024/3/19/documentfile_1710830797105.pdf\",\"show_name\":\"documentfile_1710830797105.pdf\",\"bucket_name\":\"documentfile\",\"real_name\":\"0收款回单.pdf\",\"document_id\":\"457e674d13c24122a95d0abbe1c396d6\",\"object_id\":\"1dbc15ed131c4d538567e5054a38a808\",\"file_size\":40923,\"service_table\":\"oa_jh_fawen\",\"file_category\":\"attachment\",\"original_flag\":null,\"create_by\":\"华夏\",\"sort_number\":\"1\",\"file_uuid\":\"4606c79e96754abba451cd3307227ab2\",\"is_convert\":0,\"original_id\":null,\"create_date\":\"2024-03-19 14:46:40\",\"old_file_id\":null},{\"file_path\":\"/2024/3/19/documentfile_1710839410076.pdf\",\"show_name\":\"documentfile_1710839410076.pdf\",\"bucket_name\":\"documentfile\",\"real_name\":\"京沪测试20240319审计意见书输入内容 测试~！@＃￥％……&＊（）——+{}｜：“”《》+－？.pdf\",\"document_id\":\"457e674d13c24122a95d0abbe1c396d6\",\"object_id\":\"0621a461439e47358210a64e74859e91\",\"file_size\":142356,\"service_table\":\"oa_jh_fawen\",\"file_category\":\"seal\",\"original_flag\":null,\"create_by\":\"zhc\",\"sort_number\":\"1\",\"file_uuid\":null,\"is_convert\":0,\"original_id\":null,\"create_date\":\"2024-03-19 17:10:10\",\"old_file_id\":\"b4c6213aa1fa4de8a0f1669406076661\"},{\"file_path\":\"/2024/3/19/documentfile_1710830799362.zip\",\"show_name\":\"documentfile_1710830799362.zip\",\"bucket_name\":\"documentfile\",\"real_name\":\"1.附件1.00.zip\",\"document_id\":\"457e674d13c24122a95d0abbe1c396d6\",\"object_id\":\"a3e877ad34df429dba37e13431cb9b70\",\"file_size\":12220,\"service_table\":\"oa_jh_fawen\",\"file_category\":\"attachment\",\"original_flag\":null,\"create_by\":\"华夏\",\"sort_number\":\"2\",\"file_uuid\":\"2d9419cb545646b392a0e973a4d69b37\",\"is_convert\":0,\"original_id\":null,\"create_date\":\"2024-03-19 14:46:40\",\"old_file_id\":null},{\"file_path\":\"/2024/3/19/documentfile_1710830805682.docx\",\"show_name\":\"documentfile_1710830805682.docx\",\"bucket_name\":\"documentfile\",\"real_name\":\"3.附件1.00、-副本.docx\",\"document_id\":\"457e674d13c24122a95d0abbe1c396d6\",\"object_id\":\"ec7eb33c9e2a41bab4ddf3019353ff42\",\"file_size\":14891,\"service_table\":\"oa_jh_fawen\",\"file_category\":\"attachment\",\"original_flag\":null,\"create_by\":\"华夏\",\"sort_number\":\"3\",\"file_uuid\":\"05c7bc4ef11746f880dfdb685a6fdabf\",\"is_convert\":0,\"original_id\":null,\"create_date\":\"2024-03-19 14:47:12\",\"old_file_id\":null},{\"file_path\":\"2024/3/19/documentfile_1710830815584.png\",\"show_name\":\"documentfile_1710830815584.png\",\"bucket_name\":\"documentfile\",\"real_name\":\"4222544.png\",\"document_id\":\"457e674d13c24122a95d0abbe1c396d6\",\"object_id\":\"8fd9db6a555f491496ccf02169be9e9a\",\"file_size\":6730376,\"service_table\":\"oa_jh_fawen\",\"file_category\":\"attachment\",\"original_flag\":null,\"create_by\":\"华夏\",\"sort_number\":\"4\",\"file_uuid\":\"df09baab556340c1a833b8a1abf16f30\",\"is_convert\":0,\"original_id\":null,\"create_date\":\"2024-03-19 14:47:12\",\"old_file_id\":null},{\"file_path\":\"/2024/3/19/documentfile_1710830808488.docx\",\"show_name\":\"documentfile_1710830808488.docx\",\"bucket_name\":\"documentfile\",\"real_name\":\"5.附件1.00 - 副本 - 副本.docx\",\"document_id\":\"457e674d13c24122a95d0abbe1c396d6\",\"object_id\":\"7e02543170654e8b9146b4a5db33e2cc\",\"file_size\":14891,\"service_table\":\"oa_jh_fawen\",\"file_category\":\"attachment\",\"original_flag\":null,\"create_by\":\"华夏\",\"sort_number\":\"5\",\"file_uuid\":\"335eff3cdc5c4865a6d0d58682b14194\",\"is_convert\":0,\"original_id\":null,\"create_date\":\"2024-03-19 14:47:12\",\"old_file_id\":null},{\"file_path\":\"/2024/3/19/documentfile_1710838078362.docx\",\"show_name\":\"1710838078403.docx\",\"bucket_name\":\"documentfile\",\"real_name\":\"（2024-03-19 16:54:40）痕迹稿2-7.附件1.00+、副本副本.docx\",\"document_id\":\"457e674d13c24122a95d0abbe1c396d6\",\"object_id\":\"9bef9591b01c4b518e2e5500f453d0c1\",\"file_size\":null,\"service_table\":\"oa_jh_fawen\",\"file_category\":\"attachmentMark\",\"original_flag\":null,\"create_by\":\"zhc\",\"sort_number\":\"6\",\"file_uuid\":\"6b195fa0dc2147b0ac62626b043ec850\",\"is_convert\":0,\"original_id\":null,\"create_date\":\"2024-03-19 16:54:40\",\"old_file_id\":\"7330083aecc9404b9b790127619cd4c5\"},{\"file_path\":\"/2024/3/19/documentfile_1710838480449.docx\",\"show_name\":\"1710838480478.docx\",\"bucket_name\":\"documentfile\",\"real_name\":\"7.附件1.00+、副本副本.docx\",\"document_id\":\"457e674d13c24122a95d0abbe1c396d6\",\"object_id\":\"869b9958d2e94582bbe0bacc58bbf957\",\"file_size\":null,\"service_table\":\"oa_jh_fawen\",\"file_category\":\"attachment\",\"original_flag\":null,\"create_by\":\"zhc\",\"sort_number\":\"6\",\"file_uuid\":\"6b195fa0dc2147b0ac62626b043ec850\",\"is_convert\":0,\"original_id\":null,\"create_date\":\"2024-03-19 16:54:40\",\"old_file_id\":\"9bef9591b01c4b518e2e5500f453d0c1\"},{\"file_path\":\"/2024/3/19/documentfile_1710830812309.docx\",\"show_name\":\"documentfile_1710830812309.docx\",\"bucket_name\":\"documentfile\",\"real_name\":\"（2024-03-19 16:47:58）痕迹稿1-7.附件1.00+、副本副本.docx\",\"document_id\":\"457e674d13c24122a95d0abbe1c396d6\",\"object_id\":\"7330083aecc9404b9b790127619cd4c5\",\"file_size\":14891,\"service_table\":\"oa_jh_fawen\",\"file_category\":\"attachmentMark\",\"original_flag\":null,\"create_by\":\"华夏\",\"sort_number\":\"6\",\"file_uuid\":\"6b195fa0dc2147b0ac62626b043ec850\",\"is_convert\":0,\"original_id\":null,\"create_date\":\"2024-03-19 16:47:58\",\"old_file_id\":null},{\"file_path\":\"/2024/3/19/documentfile_1710830818890.jpg\",\"show_name\":\"documentfile_1710830818890.jpg\",\"bucket_name\":\"documentfile\",\"real_name\":\"2023-02-02_144345.jpg\",\"document_id\":\"457e674d13c24122a95d0abbe1c396d6\",\"object_id\":\"ca694efc1c2345b287a8912de5a19d23\",\"file_size\":60511,\"service_table\":\"oa_jh_fawen\",\"file_category\":\"attachment\",\"original_flag\":null,\"create_by\":\"华夏\",\"sort_number\":\"7\",\"file_uuid\":\"03cc6221a9b74091b7306e0dfcfbf2ca\",\"is_convert\":0,\"original_id\":null,\"create_date\":\"2024-03-19 14:47:12\",\"old_file_id\":null},{\"file_path\":\"/2024/3/19/documentfile_1710830831520.jpeg\",\"show_name\":\"documentfile_1710830831520.jpeg\",\"bucket_name\":\"documentfile\",\"real_name\":\"小丸子.jpeg\",\"document_id\":\"457e674d13c24122a95d0abbe1c396d6\",\"object_id\":\"dad1d7b49f594c769ded1d14fde7c093\",\"file_size\":37304,\"service_table\":\"oa_jh_fawen\",\"file_category\":\"attachment\",\"original_flag\":null,\"create_by\":\"华夏\",\"sort_number\":\"8\",\"file_uuid\":\"097f8c04b65548f6a30c7c5b87ed79e7\",\"is_convert\":0,\"original_id\":null,\"create_date\":\"2024-03-19 14:47:12\",\"old_file_id\":null},{\"file_path\":\"/2024/3/19/documentfile_1710830824546.xlsx\",\"show_name\":\"documentfile_1710830824546.xlsx\",\"bucket_name\":\"documentfile\",\"real_name\":\"测试WPS Excel上传文档.xlsx\",\"document_id\":\"457e674d13c24122a95d0abbe1c396d6\",\"object_id\":\"73dff361a993456aaa02ebd565d91b24\",\"file_size\":9961,\"service_table\":\"oa_jh_fawen\",\"file_category\":\"attachment\",\"original_flag\":null,\"create_by\":\"华夏\",\"sort_number\":\"9\",\"file_uuid\":\"859398e1f6694182abe31659e95b20d2\",\"is_convert\":0,\"original_id\":null,\"create_date\":\"2024-03-19 14:47:12\",\"old_file_id\":null}],\"is_invalid\":null,\"drafter_basic_depart_id\":\"da5343799a343f30e0539751a8c07470\",\"biao_ti\":\"京沪测试20240319审计意见书\\n输入内容 测试~！@＃￥％……&＊（）——+{}｜：“”《》+－？20240319审计意见书20240319审计意见书20240319审计意见书20240319审计意见书20240319审计意见书20240319审计意见书20240319审计意见书20240319审计意见书20240319审计意见书20240319审计意见书20240319审计意见书202403\",\"form_id\":\"c647178f04724da3834ff6868a99af86\",\"yin_fa_ji_guan\":null,\"zheng_wen\":null,\"shou_wen_ri_qi\":null,\"cha_yue_ji_bie\":\"f22ce1be50c140cebbdce463d652299d\",\"mi_ji\":null,\"fu_jian_shuo_ming\":\"附件附件附件附件附件附件附件附件附件附件附件附件附件附件附件附\",\"is_finish\":null,\"is_du_ban\":\"2\",\"modify_date\":null},\"service_table\":\"oa_jh_fawen\"}}";

        String jjcd = "{\"msg\":\"success\",\"code\":20000,\"data\":[{\"businessCode\":\"emergency_1\",\"isDefault\":1,\"companyId\":\"565ee29e32a346e58aa2a48a4901f096\",\"businessValue\":\"无\",\"sortNumber\":1,\"categoryCode\":\"emergency\",\"categoryName\":\"紧急程度\",\"objectId\":\"546cb56613be4b65bcbdf3eeb13751d5\",\"remove\":null},{\"businessCode\":\"emergency_2\",\"isDefault\":null,\"companyId\":\"565ee29e32a346e58aa2a48a4901f096\",\"businessValue\":\"急件\",\"sortNumber\":2,\"categoryCode\":\"emergency\",\"categoryName\":\"紧急程度\",\"objectId\":\"3da54b0cd8ea4372912b296793d0cf58\",\"remove\":null},{\"businessCode\":\"emergency_3\",\"isDefault\":null,\"companyId\":\"565ee29e32a346e58aa2a48a4901f096\",\"businessValue\":\"特急\",\"sortNumber\":3,\"categoryCode\":\"emergency\",\"categoryName\":\"紧急程度\",\"objectId\":\"10d13a106ad54405b5bb2a71afb31a49\",\"remove\":null}]}";

        String lwlb = "";

        String sp = "{\"msg\":\"success\",\"code\":20000,\"data\":{\"allOpinion\":[{\"approvalOpinionInput\":\"\",\"attachmentFileId\":\"\",\"approvalDate\":\"2024-03-19 17:14:32\",\"attachmentFileName\":\"\",\"displayName\":\"文书\",\"optionalFeedbackComment\":\"\",\"approvalDepartmentInfo\":\"董事会办公室/京沪高速铁路股份有限公司\",\"approvalOpinion\":\"\",\"counterSignDept\":\"\",\"textField\":\"\",\"workitemId\":\"cd5317b2-5813-470d-9a38-657a7db2c072\",\"activityCode\":\"Activity24\",\"isAgree\":1,\"textFieldJson\":\"\",\"departSortNumber\":\"000003\",\"instanceId\":\"836c53f8-544c-449a-a4be-de885910de46\",\"mobileIsShow\":\"\",\"providerId\":\"\",\"departLevel\":\"000003\",\"chuShiId\":\"da52a24fbc2828fee0539751a8c04e48\",\"state\":1,\"objectId\":\"400569e0a13a49089fde78d94b8e109e\",\"height\":\"\",\"approvalUserName\":\"卢华\",\"waitDoOrRead\":\"ToDo\",\"approvalState\":\"\",\"chuShiName\":\"董事会办公室\",\"gwClassify\":\"\",\"commentBath\":\"\",\"mobileOrPc\":\"\",\"approvalDepartment\":\"董事会办公室\",\"approvalDepartmentId\":\"da52a24fbc2828fee0539751a8c04e48\",\"approvalOpinionImgId\":\"\",\"leaderApprovalDate\":null,\"width\":\"\",\"approvalPosition\":\"\",\"biaoTi\":\"\",\"documentId\":\"457e674d13c24122a95d0abbe1c396d6\",\"fontSize\":\"\",\"approvalUserId\":\"7ebbd1a9528d451ba17ed5010c2f40a0\",\"departPostSortNumber\":\"3\",\"counterSignDeptId\":\"\"},{\"approvalOpinionInput\":\"\",\"attachmentFileId\":\"\",\"approvalDate\":\"2024-03-19 17:10:47\",\"attachmentFileName\":\"\",\"displayName\":\"文书\",\"optionalFeedbackComment\":\"\",\"approvalDepartmentInfo\":\"董事会办公室/京沪高速铁路股份有限公司\",\"approvalOpinion\":\"\",\"counterSignDept\":\"\",\"textField\":\"\",\"workitemId\":\"cd5317b2-5813-470d-9a38-657a7db2c072\",\"activityCode\":\"Activity24\",\"isAgree\":1,\"textFieldJson\":\"\",\"departSortNumber\":\"000003\",\"instanceId\":\"836c53f8-544c-449a-a4be-de885910de46\",\"mobileIsShow\":\"\",\"providerId\":\"\",\"departLevel\":\"000003\",\"chuShiId\":\"da52a24fbc2828fee0539751a8c04e48\",\"state\":1,\"objectId\":\"ccf621d286904ce0aaf8beec08b80f40\",\"height\":\"\",\"approvalUserName\":\"卢华\",\"waitDoOrRead\":\"ToDo\",\"approvalState\":\"\",\"chuShiName\":\"董事会办公室\",\"gwClassify\":\"\",\"commentBath\":\"\",\"mobileOrPc\":\"\",\"approvalDepartment\":\"董事会办公室\",\"approvalDepartmentId\":\"da52a24fbc2828fee0539751a8c04e48\",\"approvalOpinionImgId\":\"\",\"leaderApprovalDate\":null,\"width\":\"\",\"approvalPosition\":\"\",\"biaoTi\":\"\",\"documentId\":\"457e674d13c24122a95d0abbe1c396d6\",\"fontSize\":\"\",\"approvalUserId\":\"7ebbd1a9528d451ba17ed5010c2f40a0\",\"departPostSortNumber\":\"3\",\"counterSignDeptId\":\"\"},{\"approvalOpinionInput\":\"校对无意见\",\"attachmentFileId\":\"\",\"approvalDate\":\"2024-03-19 16:51:44\",\"attachmentFileName\":\"\",\"displayName\":\"校对\",\"optionalFeedbackComment\":\"\",\"approvalDepartmentInfo\":\"党群工作部/京沪高速铁路股份有限公司\",\"approvalOpinion\":\"\",\"counterSignDept\":\"\",\"textField\":\"\",\"workitemId\":\"3d008e71-3acd-46a6-99ef-d8cddc4ac315\",\"activityCode\":\"Activity62\",\"isAgree\":1,\"textFieldJson\":\"\",\"departSortNumber\":\"000004\",\"instanceId\":\"836c53f8-544c-449a-a4be-de885910de46\",\"mobileIsShow\":\"\",\"providerId\":\"\",\"departLevel\":\"000004\",\"chuShiId\":\"da5343799a343f30e0539751a8c07470\",\"state\":1,\"objectId\":\"4c58424eb6cd418aa5ec09249e1cd59a\",\"height\":\"\",\"approvalUserName\":\"华夏\",\"waitDoOrRead\":\"ToDo\",\"approvalState\":\"\",\"chuShiName\":\"党群工作部\",\"gwClassify\":\"\",\"commentBath\":\"\",\"mobileOrPc\":\"\",\"approvalDepartment\":\"党群工作部\",\"approvalDepartmentId\":\"da5343799a343f30e0539751a8c07470\",\"approvalOpinionImgId\":\"\",\"leaderApprovalDate\":null,\"width\":\"\",\"approvalPosition\":\"\",\"biaoTi\":\"\",\"documentId\":\"457e674d13c24122a95d0abbe1c396d6\",\"fontSize\":\"\",\"approvalUserId\":\"c51997efc72f4e3192369efa6ed282c9\",\"departPostSortNumber\":\"3\",\"counterSignDeptId\":\"\"},{\"approvalOpinionInput\":\"\",\"attachmentFileId\":\"\",\"approvalDate\":\"2024-03-19 16:50:22\",\"attachmentFileName\":\"\",\"displayName\":\"编号\",\"optionalFeedbackComment\":\"\",\"approvalDepartmentInfo\":\"董事会办公室/京沪高速铁路股份有限公司\",\"approvalOpinion\":\"\",\"counterSignDept\":\"\",\"textField\":\"\",\"workitemId\":\"a82f2043-f1e1-49dd-b663-3771d003dc15\",\"activityCode\":\"Activity58\",\"isAgree\":1,\"textFieldJson\":\"\",\"departSortNumber\":\"000003\",\"instanceId\":\"836c53f8-544c-449a-a4be-de885910de46\",\"mobileIsShow\":\"\",\"providerId\":\"\",\"departLevel\":\"000003\",\"chuShiId\":\"da52a24fbc2828fee0539751a8c04e48\",\"state\":1,\"objectId\":\"3e4538b4bf9549999c1f81c9096bfe3b\",\"height\":\"\",\"approvalUserName\":\"卢华\",\"waitDoOrRead\":\"ToDo\",\"approvalState\":\"\",\"chuShiName\":\"董事会办公室\",\"gwClassify\":\"\",\"commentBath\":\"\",\"mobileOrPc\":\"\",\"approvalDepartment\":\"董事会办公室\",\"approvalDepartmentId\":\"da52a24fbc2828fee0539751a8c04e48\",\"approvalOpinionImgId\":\"\",\"leaderApprovalDate\":null,\"width\":\"\",\"approvalPosition\":\"\",\"biaoTi\":\"\",\"documentId\":\"457e674d13c24122a95d0abbe1c396d6\",\"fontSize\":\"\",\"approvalUserId\":\"7ebbd1a9528d451ba17ed5010c2f40a0\",\"departPostSortNumber\":\"3\",\"counterSignDeptId\":\"\"},{\"approvalOpinionInput\":\"\",\"attachmentFileId\":\"\",\"approvalDate\":\"2024-03-19 16:34:21\",\"attachmentFileName\":\"\",\"displayName\":\"综合部负责人审核\",\"optionalFeedbackComment\":\"\",\"approvalDepartmentInfo\":\"董事会办公室/京沪高速铁路股份有限公司\",\"approvalOpinion\":\"\",\"counterSignDept\":\"\",\"textField\":\"zhb_fu_ze_ren\",\"workitemId\":\"6377fab8-c233-490d-9bda-97fdd90ad060\",\"activityCode\":\"Activity8\",\"isAgree\":1,\"textFieldJson\":\"\",\"departSortNumber\":\"000003\",\"instanceId\":\"836c53f8-544c-449a-a4be-de885910de46\",\"mobileIsShow\":\"\",\"providerId\":\"\",\"departLevel\":\"000003\",\"chuShiId\":\"da52a24fbc2828fee0539751a8c04e48\",\"state\":1,\"objectId\":\"f1f4f3f2a0274af2832847e7e7817ce3\",\"height\":\"\",\"approvalUserName\":\"郑勇\",\"waitDoOrRead\":\"ToDo\",\"approvalState\":\"\",\"chuShiName\":\"董事会办公室\",\"gwClassify\":\"\",\"commentBath\":\"\",\"mobileOrPc\":\"\",\"approvalDepartment\":\"董事会办公室\",\"approvalDepartmentId\":\"da52a24fbc2828fee0539751a8c04e48\",\"approvalOpinionImgId\":\"\",\"leaderApprovalDate\":null,\"width\":\"\",\"approvalPosition\":\"主任\",\"biaoTi\":\"\",\"documentId\":\"457e674d13c24122a95d0abbe1c396d6\",\"fontSize\":\"\",\"approvalUserId\":\"3d2e361a695046c08f4aea3634f5a7fa\",\"departPostSortNumber\":\"1\",\"counterSignDeptId\":\"\"},{\"approvalOpinionInput\":\"退回收到。\",\"attachmentFileId\":\"\",\"approvalDate\":\"2024-03-19 16:29:56\",\"attachmentFileName\":\"\",\"displayName\":\"综合部核稿\",\"optionalFeedbackComment\":\"\",\"approvalDepartmentInfo\":\"董事会办公室/京沪高速铁路股份有限公司\",\"approvalOpinion\":\"\",\"counterSignDept\":\"\",\"textField\":\"zhb_he_gao\",\"workitemId\":\"70bdaba9-284b-475f-af88-8139979849b4\",\"activityCode\":\"Activity9\",\"isAgree\":1,\"textFieldJson\":\"\",\"departSortNumber\":\"000003\",\"instanceId\":\"836c53f8-544c-449a-a4be-de885910de46\",\"mobileIsShow\":\"\",\"providerId\":\"\",\"departLevel\":\"000003\",\"chuShiId\":\"da52a24fbc2828fee0539751a8c04e48\",\"state\":1,\"objectId\":\"257fa23a4f5647268b9d82e5b5a94636\",\"height\":\"\",\"approvalUserName\":\"刘谦奇\",\"waitDoOrRead\":\"ToDo\",\"approvalState\":\"\",\"chuShiName\":\"董事会办公室\",\"gwClassify\":\"\",\"commentBath\":\"\",\"mobileOrPc\":\"\",\"approvalDepartment\":\"董事会办公室\",\"approvalDepartmentId\":\"da52a24fbc2828fee0539751a8c04e48\",\"approvalOpinionImgId\":\"\",\"leaderApprovalDate\":null,\"width\":\"\",\"approvalPosition\":\"\",\"biaoTi\":\"\",\"documentId\":\"457e674d13c24122a95d0abbe1c396d6\",\"fontSize\":\"\",\"approvalUserId\":\"ce39888b8509444e9ec0b7467d4b0a7d\",\"departPostSortNumber\":\"6\",\"counterSignDeptId\":\"\"},{\"approvalOpinionInput\":\"测试退回。修改意见\",\"attachmentFileId\":\"\",\"approvalDate\":\"2024-03-19 16:26:44\",\"attachmentFileName\":\"\",\"displayName\":\"公司领导签发\",\"optionalFeedbackComment\":\"\",\"approvalDepartmentInfo\":\"公司领导/京沪高速铁路股份有限公司\",\"approvalOpinion\":\"\",\"counterSignDept\":\"\",\"textField\":\"qian_fa\",\"workitemId\":\"a5b325ab-bdff-4d29-b9b4-fdfd4359b3cc\",\"activityCode\":\"Activity15\",\"isAgree\":0,\"textFieldJson\":\"\",\"departSortNumber\":\"000001\",\"instanceId\":\"836c53f8-544c-449a-a4be-de885910de46\",\"mobileIsShow\":\"\",\"providerId\":\"\",\"departLevel\":\"0\",\"chuShiId\":\"e1a1346495443c2ce0539751a8c0848c\",\"state\":1,\"objectId\":\"9a96d318d2b342dda81f0d5702ac1174\",\"height\":\"\",\"approvalUserName\":\"邵长虹\",\"waitDoOrRead\":\"ToDo\",\"approvalState\":\"\",\"chuShiName\":\"公司领导\",\"gwClassify\":\"\",\"commentBath\":\"\",\"mobileOrPc\":\"\",\"approvalDepartment\":\"京沪高速铁路股份有限公司\",\"approvalDepartmentId\":\"565ee29e32a346e58aa2a48a4901f096\",\"approvalOpinionImgId\":\"\",\"leaderApprovalDate\":null,\"width\":\"\",\"approvalPosition\":\"党委副书记、纪委书记\",\"biaoTi\":\"\",\"documentId\":\"457e674d13c24122a95d0abbe1c396d6\",\"fontSize\":\"\",\"approvalUserId\":\"da52a24fbc4328fee0539751a8c04e48\",\"departPostSortNumber\":\"2\",\"counterSignDeptId\":\"\"},{\"approvalOpinionInput\":\"\",\"attachmentFileId\":\"\",\"approvalDate\":\"2024-03-19 16:21:46\",\"attachmentFileName\":\"\",\"displayName\":\"综合部负责人审核\",\"optionalFeedbackComment\":\"\",\"approvalDepartmentInfo\":\"董事会办公室/京沪高速铁路股份有限公司\",\"approvalOpinion\":\"\",\"counterSignDept\":\"\",\"textField\":\"zhb_fu_ze_ren\",\"workitemId\":\"68babc8f-715c-4f6c-8922-8ef324be3dfe\",\"activityCode\":\"Activity8\",\"isAgree\":1,\"textFieldJson\":\"\",\"departSortNumber\":\"000003\",\"instanceId\":\"836c53f8-544c-449a-a4be-de885910de46\",\"mobileIsShow\":\"\",\"providerId\":\"\",\"departLevel\":\"000003\",\"chuShiId\":\"da52a24fbc2828fee0539751a8c04e48\",\"state\":1,\"objectId\":\"1cce801fef834363a90cb585f158763a\",\"height\":\"\",\"approvalUserName\":\"郑勇\",\"waitDoOrRead\":\"ToDo\",\"approvalState\":\"\",\"chuShiName\":\"董事会办公室\",\"gwClassify\":\"\",\"commentBath\":\"\",\"mobileOrPc\":\"\",\"approvalDepartment\":\"董事会办公室\",\"approvalDepartmentId\":\"da52a24fbc2828fee0539751a8c04e48\",\"approvalOpinionImgId\":\"\",\"leaderApprovalDate\":null,\"width\":\"\",\"approvalPosition\":\"主任\",\"biaoTi\":\"\",\"documentId\":\"457e674d13c24122a95d0abbe1c396d6\",\"fontSize\":\"\",\"approvalUserId\":\"3d2e361a695046c08f4aea3634f5a7fa\",\"departPostSortNumber\":\"1\",\"counterSignDeptId\":\"\"},{\"approvalOpinionInput\":\"修改意见，测试表单回显。\",\"attachmentFileId\":\"\",\"approvalDate\":\"2024-03-19 16:20:51\",\"attachmentFileName\":\"\",\"displayName\":\"公司领导签发\",\"optionalFeedbackComment\":\"\",\"approvalDepartmentInfo\":\"公司领导/京沪高速铁路股份有限公司\",\"approvalOpinion\":\"\",\"counterSignDept\":\"\",\"textField\":\"qian_fa\",\"workitemId\":\"3f378af5-3252-4066-a657-1744dafd8a84\",\"activityCode\":\"Activity15\",\"isAgree\":1,\"textFieldJson\":\"\",\"departSortNumber\":\"000001\",\"instanceId\":\"836c53f8-544c-449a-a4be-de885910de46\",\"mobileIsShow\":\"\",\"providerId\":\"\",\"departLevel\":\"0\",\"chuShiId\":\"e1a1346495443c2ce0539751a8c0848c\",\"state\":1,\"objectId\":\"22879c60272b4dc6aa65af38d051c106\",\"height\":\"\",\"approvalUserName\":\"刘洪润\",\"waitDoOrRead\":\"ToDo\",\"approvalState\":\"\",\"chuShiName\":\"公司领导\",\"gwClassify\":\"\",\"commentBath\":\"\",\"mobileOrPc\":\"\",\"approvalDepartment\":\"京沪高速铁路股份有限公司\",\"approvalDepartmentId\":\"565ee29e32a346e58aa2a48a4901f096\",\"approvalOpinionImgId\":\"\",\"leaderApprovalDate\":null,\"width\":\"\",\"approvalPosition\":\"董事长、党委书记\",\"biaoTi\":\"\",\"documentId\":\"457e674d13c24122a95d0abbe1c396d6\",\"fontSize\":\"\",\"approvalUserId\":\"da52a23f34dc2904e0539751a8c0b59f\",\"departPostSortNumber\":\"1\",\"counterSignDeptId\":\"\"},{\"approvalOpinionInput\":\"\",\"attachmentFileId\":\"\",\"approvalDate\":\"2024-03-19 16:19:52\",\"attachmentFileName\":\"\",\"displayName\":\"综合部负责人审核\",\"optionalFeedbackComment\":\"\",\"approvalDepartmentInfo\":\"董事会办公室/京沪高速铁路股份有限公司\",\"approvalOpinion\":\"\",\"counterSignDept\":\"\",\"textField\":\"zhb_fu_ze_ren\",\"workitemId\":\"36b44312-2fff-4a1c-aa4e-bd09ff58d414\",\"activityCode\":\"Activity8\",\"isAgree\":1,\"textFieldJson\":\"\",\"departSortNumber\":\"000003\",\"instanceId\":\"836c53f8-544c-449a-a4be-de885910de46\",\"mobileIsShow\":\"\",\"providerId\":\"\",\"departLevel\":\"000003\",\"chuShiId\":\"da52a24fbc2828fee0539751a8c04e48\",\"state\":1,\"objectId\":\"282888e431ea4f178838b70e14d0b43b\",\"height\":\"\",\"approvalUserName\":\"郑勇\",\"waitDoOrRead\":\"ToDo\",\"approvalState\":\"\",\"chuShiName\":\"董事会办公室\",\"gwClassify\":\"\",\"commentBath\":\"\",\"mobileOrPc\":\"\",\"approvalDepartment\":\"董事会办公室\",\"approvalDepartmentId\":\"da52a24fbc2828fee0539751a8c04e48\",\"approvalOpinionImgId\":\"\",\"leaderApprovalDate\":null,\"width\":\"\",\"approvalPosition\":\"主任\",\"biaoTi\":\"\",\"documentId\":\"457e674d13c24122a95d0abbe1c396d6\",\"fontSize\":\"\",\"approvalUserId\":\"3d2e361a695046c08f4aea3634f5a7fa\",\"departPostSortNumber\":\"1\",\"counterSignDeptId\":\"\"},{\"approvalOpinionInput\":\"已阅。\",\"attachmentFileId\":\"\",\"approvalDate\":\"2024-03-19 16:19:17\",\"attachmentFileName\":\"\",\"displayName\":\"公司领导会签\",\"optionalFeedbackComment\":\"\",\"approvalDepartmentInfo\":\"公司领导/京沪高速铁路股份有限公司\",\"approvalOpinion\":\"\",\"counterSignDept\":\"\",\"textField\":\"ling_dao_hui_qian\",\"workitemId\":\"afd75a49-e546-48cd-84a3-26ec7f8db175\",\"activityCode\":\"Activity12\",\"isAgree\":1,\"textFieldJson\":\"\",\"departSortNumber\":\"000001\",\"instanceId\":\"836c53f8-544c-449a-a4be-de885910de46\",\"mobileIsShow\":\"\",\"providerId\":\"\",\"departLevel\":\"0\",\"chuShiId\":\"e1a1346495443c2ce0539751a8c0848c\",\"state\":1,\"objectId\":\"e8b928cbae434c20ac3ea96acb0fde6f\",\"height\":\"\",\"approvalUserName\":\"邵长虹\",\"waitDoOrRead\":\"ToDo\",\"approvalState\":\"\",\"chuShiName\":\"公司领导\",\"gwClassify\":\"\",\"commentBath\":\"\",\"mobileOrPc\":\"\",\"approvalDepartment\":\"京沪高速铁路股份有限公司\",\"approvalDepartmentId\":\"565ee29e32a346e58aa2a48a4901f096\",\"approvalOpinionImgId\":\"\",\"leaderApprovalDate\":null,\"width\":\"\",\"approvalPosition\":\"党委副书记、纪委书记\",\"biaoTi\":\"\",\"documentId\":\"457e674d13c24122a95d0abbe1c396d6\",\"fontSize\":\"\",\"approvalUserId\":\"da52a24fbc4328fee0539751a8c04e48\",\"departPostSortNumber\":\"2\",\"counterSignDeptId\":\"\"},{\"approvalOpinionInput\":\"\",\"attachmentFileId\":\"\",\"approvalDate\":\"2024-03-19 16:18:35\",\"attachmentFileName\":\"\",\"displayName\":\"公司领导会签\",\"optionalFeedbackComment\":\"\",\"approvalDepartmentInfo\":\"公司领导/京沪高速铁路股份有限公司\",\"approvalOpinion\":\"\",\"counterSignDept\":\"\",\"textField\":\"ling_dao_hui_qian\",\"workitemId\":\"1f908513-1028-4108-ae60-3a676c5f0421\",\"activityCode\":\"Activity12\",\"isAgree\":1,\"textFieldJson\":\"\",\"departSortNumber\":\"000001\",\"instanceId\":\"836c53f8-544c-449a-a4be-de885910de46\",\"mobileIsShow\":\"\",\"providerId\":\"\",\"departLevel\":\"0\",\"chuShiId\":\"e1a1346495443c2ce0539751a8c0848c\",\"state\":1,\"objectId\":\"f959765424204250a5cb8b800b31eb31\",\"height\":\"\",\"approvalUserName\":\"严佐魁\",\"waitDoOrRead\":\"ToDo\",\"approvalState\":\"\",\"chuShiName\":\"公司领导\",\"gwClassify\":\"\",\"commentBath\":\"\",\"mobileOrPc\":\"\",\"approvalDepartment\":\"京沪高速铁路股份有限公司\",\"approvalDepartmentId\":\"565ee29e32a346e58aa2a48a4901f096\",\"approvalOpinionImgId\":\"\",\"leaderApprovalDate\":null,\"width\":\"\",\"approvalPosition\":\"党委副书记、纪委书记\",\"biaoTi\":\"\",\"documentId\":\"457e674d13c24122a95d0abbe1c396d6\",\"fontSize\":\"\",\"approvalUserId\":\"53a9179fd9a843ff8a2bf4bab1373590\",\"departPostSortNumber\":\"3\",\"counterSignDeptId\":\"\"},{\"approvalOpinionInput\":\"输入意见1\",\"attachmentFileId\":\"\",\"approvalDate\":\"2024-03-19 16:14:31\",\"attachmentFileName\":\"\",\"displayName\":\"综合部负责人审核\",\"optionalFeedbackComment\":\"\",\"approvalDepartmentInfo\":\"董事会办公室/京沪高速铁路股份有限公司\",\"approvalOpinion\":\"\",\"counterSignDept\":\"\",\"textField\":\"zhb_fu_ze_ren\",\"workitemId\":\"68d2248d-04fc-43a5-86e7-03ce204c0fd4\",\"activityCode\":\"Activity8\",\"isAgree\":1,\"textFieldJson\":\"\",\"departSortNumber\":\"000003\",\"instanceId\":\"836c53f8-544c-449a-a4be-de885910de46\",\"mobileIsShow\":\"\",\"providerId\":\"\",\"departLevel\":\"000003\",\"chuShiId\":\"da52a24fbc2828fee0539751a8c04e48\",\"state\":1,\"objectId\":\"a8358e1b89ab4d638651851824bba8ed\",\"height\":\"\",\"approvalUserName\":\"郑勇\",\"waitDoOrRead\":\"ToDo\",\"approvalState\":\"\",\"chuShiName\":\"董事会办公室\",\"gwClassify\":\"\",\"commentBath\":\"\",\"mobileOrPc\":\"\",\"approvalDepartment\":\"董事会办公室\",\"approvalDepartmentId\":\"da52a24fbc2828fee0539751a8c04e48\",\"approvalOpinionImgId\":\"\",\"leaderApprovalDate\":null,\"width\":\"\",\"approvalPosition\":\"主任\",\"biaoTi\":\"\",\"documentId\":\"457e674d13c24122a95d0abbe1c396d6\",\"fontSize\":\"\",\"approvalUserId\":\"3d2e361a695046c08f4aea3634f5a7fa\",\"departPostSortNumber\":\"1\",\"counterSignDeptId\":\"\"},{\"approvalOpinionInput\":\"总师会签，测试退回\",\"attachmentFileId\":\"\",\"approvalDate\":\"2024-03-19 16:11:33\",\"attachmentFileName\":\"\",\"displayName\":\"总师会签\",\"optionalFeedbackComment\":\"\",\"approvalDepartmentInfo\":\"高级管理人员/京沪高速铁路股份有限公司\",\"approvalOpinion\":\"\",\"counterSignDept\":\"\",\"textField\":\"zong_shi_hui_qian\",\"workitemId\":\"fcdef353-8ca7-4df9-93cd-5fc80a9f35fa\",\"activityCode\":\"Activity49\",\"isAgree\":1,\"textFieldJson\":\"\",\"departSortNumber\":\"000002\",\"instanceId\":\"836c53f8-544c-449a-a4be-de885910de46\",\"mobileIsShow\":\"\",\"providerId\":\"\",\"departLevel\":\"000002\",\"chuShiId\":\"e67ffd8ae1655c55e0539751a8c06c5f\",\"state\":1,\"objectId\":\"7410a5a2288e48918ac44fd7a8ffb6c3\",\"height\":\"\",\"approvalUserName\":\"赵非\",\"waitDoOrRead\":\"ToDo\",\"approvalState\":\"\",\"chuShiName\":\"高级管理人员\",\"gwClassify\":\"\",\"commentBath\":\"\",\"mobileOrPc\":\"\",\"approvalDepartment\":\"高级管理人员\",\"approvalDepartmentId\":\"e67ffd8ae1655c55e0539751a8c06c5f\",\"approvalOpinionImgId\":\"\",\"leaderApprovalDate\":null,\"width\":\"\",\"approvalPosition\":\"董事会秘书\",\"biaoTi\":\"\",\"documentId\":\"457e674d13c24122a95d0abbe1c396d6\",\"fontSize\":\"\",\"approvalUserId\":\"c24104b85d9845cea4646a44e4ac0f1f\",\"departPostSortNumber\":\"6\",\"counterSignDeptId\":\"\"},{\"approvalOpinionInput\":\"\",\"attachmentFileId\":\"\",\"approvalDate\":\"2024-03-19 16:10:35\",\"attachmentFileName\":\"\",\"displayName\":\"综合部负责人审核\",\"optionalFeedbackComment\":\"\",\"approvalDepartmentInfo\":\"董事会办公室/京沪高速铁路股份有限公司\",\"approvalOpinion\":\"\",\"counterSignDept\":\"\",\"textField\":\"zhb_fu_ze_ren\",\"workitemId\":\"b3c275f7-61ae-4bd0-a023-030f38077d79\",\"activityCode\":\"Activity8\",\"isAgree\":1,\"textFieldJson\":\"\",\"departSortNumber\":\"000003\",\"instanceId\":\"836c53f8-544c-449a-a4be-de885910de46\",\"mobileIsShow\":\"\",\"providerId\":\"\",\"departLevel\":\"000003\",\"chuShiId\":\"da52a24fbc2828fee0539751a8c04e48\",\"state\":1,\"objectId\":\"e49d655a8f3b47b6ac262e0624fe3ab9\",\"height\":\"\",\"approvalUserName\":\"郑勇\",\"waitDoOrRead\":\"ToDo\",\"approvalState\":\"\",\"chuShiName\":\"董事会办公室\",\"gwClassify\":\"\",\"commentBath\":\"\",\"mobileOrPc\":\"\",\"approvalDepartment\":\"董事会办公室\",\"approvalDepartmentId\":\"da52a24fbc2828fee0539751a8c04e48\",\"approvalOpinionImgId\":\"\",\"leaderApprovalDate\":null,\"width\":\"\",\"approvalPosition\":\"主任\",\"biaoTi\":\"\",\"documentId\":\"457e674d13c24122a95d0abbe1c396d6\",\"fontSize\":\"\",\"approvalUserId\":\"3d2e361a695046c08f4aea3634f5a7fa\",\"departPostSortNumber\":\"1\",\"counterSignDeptId\":\"\"},{\"approvalOpinionInput\":\"拟同意。\",\"attachmentFileId\":\"\",\"approvalDate\":\"2024-03-19 16:09:03\",\"attachmentFileName\":\"\",\"displayName\":\"部门主要负责人\",\"optionalFeedbackComment\":\"\",\"approvalDepartmentInfo\":\"运输管理部/京沪高速铁路股份有限公司\",\"approvalOpinion\":\"\",\"counterSignDept\":\"\",\"textField\":\"bu_men_hui_qian\",\"workitemId\":\"47a9d221-9051-4879-aaa5-c7f8af26d1dc\",\"activityCode\":\"Activity15\",\"isAgree\":1,\"textFieldJson\":\"\",\"departSortNumber\":\"000008\",\"instanceId\":\"cacf8451-b2ff-4325-a9b3-530f5914b34a\",\"mobileIsShow\":\"\",\"providerId\":\"\",\"departLevel\":\"000008\",\"chuShiId\":\"da52a24fbc3428fee0539751a8c04e48\",\"state\":1,\"objectId\":\"b9cbec9429ee448dab97e90d0a0395ff\",\"height\":\"\",\"approvalUserName\":\"李桥\",\"waitDoOrRead\":\"ToDo\",\"approvalState\":\"\",\"chuShiName\":\"运输管理部\",\"gwClassify\":\"\",\"commentBath\":\"\",\"mobileOrPc\":\"\",\"approvalDepartment\":\"运输管理部\",\"approvalDepartmentId\":\"da52a24fbc3428fee0539751a8c04e48\",\"approvalOpinionImgId\":\"\",\"leaderApprovalDate\":null,\"width\":\"\",\"approvalPosition\":\"\",\"biaoTi\":\"\",\"documentId\":\"457e674d13c24122a95d0abbe1c396d6\",\"fontSize\":\"\",\"approvalUserId\":\"171049698eb944d1b107170bd517701a\",\"departPostSortNumber\":\"3\",\"counterSignDeptId\":\"\"},{\"approvalOpinionInput\":\"按领导批示要求贯彻落实。\",\"attachmentFileId\":\"\",\"approvalDate\":\"2024-03-19 16:08:21\",\"attachmentFileName\":\"\",\"displayName\":\"部门相关负责人\",\"optionalFeedbackComment\":\"\",\"approvalDepartmentInfo\":\"运输管理部/京沪高速铁路股份有限公司\",\"approvalOpinion\":\"\",\"counterSignDept\":\"\",\"textField\":\"bu_men_hui_qian\",\"workitemId\":\"5cda3af7-e66d-4d86-9932-171532ebacea\",\"activityCode\":\"Activity3\",\"isAgree\":1,\"textFieldJson\":\"\",\"departSortNumber\":\"000008\",\"instanceId\":\"cacf8451-b2ff-4325-a9b3-530f5914b34a\",\"mobileIsShow\":\"\",\"providerId\":\"\",\"departLevel\":\"000008\",\"chuShiId\":\"da52a24fbc3428fee0539751a8c04e48\",\"state\":1,\"objectId\":\"972ca0e28de14a03b01f1a642d633cb8\",\"height\":\"\",\"approvalUserName\":\"乔庆杰\",\"waitDoOrRead\":\"ToDo\",\"approvalState\":\"\",\"chuShiName\":\"运输管理部\",\"gwClassify\":\"\",\"commentBath\":\"\",\"mobileOrPc\":\"\",\"approvalDepartment\":\"运输管理部\",\"approvalDepartmentId\":\"da52a24fbc3428fee0539751a8c04e48\",\"approvalOpinionImgId\":\"\",\"leaderApprovalDate\":null,\"width\":\"\",\"approvalPosition\":\"\",\"biaoTi\":\"\",\"documentId\":\"457e674d13c24122a95d0abbe1c396d6\",\"fontSize\":\"\",\"approvalUserId\":\"ad22698b78ad4d80bba61df9ce4f6219\",\"departPostSortNumber\":\"2\",\"counterSignDeptId\":\"\"},{\"approvalOpinionInput\":\"阅存。\",\"attachmentFileId\":\"\",\"approvalDate\":\"2024-03-19 16:07:07\",\"attachmentFileName\":\"\",\"displayName\":\"部门主要负责人\",\"optionalFeedbackComment\":\"\",\"approvalDepartmentInfo\":\"人力资源部/京沪高速铁路股份有限公司\",\"approvalOpinion\":\"\",\"counterSignDept\":\"\",\"textField\":\"bu_men_hui_qian\",\"workitemId\":\"de557e2d-dfa6-4f56-8082-4fa6a8378ebe\",\"activityCode\":\"Activity2\",\"isAgree\":1,\"textFieldJson\":\"\",\"departSortNumber\":\"000005\",\"instanceId\":\"69d418b6-e88e-41ae-8d2a-0142878ef3ed\",\"mobileIsShow\":\"\",\"providerId\":\"\",\"departLevel\":\"000005\",\"chuShiId\":\"da52a24fbc2f28fee0539751a8c04e48\",\"state\":1,\"objectId\":\"0fd0016389e84badbb73ef8122ed4d1d\",\"height\":\"\",\"approvalUserName\":\"杨靖\",\"waitDoOrRead\":\"ToDo\",\"approvalState\":\"\",\"chuShiName\":\"人力资源部\",\"gwClassify\":\"\",\"commentBath\":\"\",\"mobileOrPc\":\"\",\"approvalDepartment\":\"人力资源部\",\"approvalDepartmentId\":\"da52a24fbc2f28fee0539751a8c04e48\",\"approvalOpinionImgId\":\"\",\"leaderApprovalDate\":null,\"width\":\"\",\"approvalPosition\":\"主任\",\"biaoTi\":\"\",\"documentId\":\"457e674d13c24122a95d0abbe1c396d6\",\"fontSize\":\"\",\"approvalUserId\":\"3d10013106004d09864f983eac4aeaad\",\"departPostSortNumber\":\"1\",\"counterSignDeptId\":\"\"},{\"approvalOpinionInput\":\"\",\"attachmentFileId\":\"\",\"approvalDate\":\"2024-03-19 16:06:36\",\"attachmentFileName\":\"\",\"displayName\":\"部门主要负责人\",\"optionalFeedbackComment\":\"\",\"approvalDepartmentInfo\":\"法律审计部/京沪高速铁路股份有限公司\",\"approvalOpinion\":\"\",\"counterSignDept\":\"\",\"textField\":\"bu_men_hui_qian\",\"workitemId\":\"fc4823c1-24f7-4bb0-8973-8fd5aeec7ceb\",\"activityCode\":\"Activity15\",\"isAgree\":1,\"textFieldJson\":\"\",\"departSortNumber\":\"000007\",\"instanceId\":\"80cc304a-76ae-4b93-8816-dd83478ef265\",\"mobileIsShow\":\"\",\"providerId\":\"\",\"departLevel\":\"000007\",\"chuShiId\":\"da5343799a363f30e0539751a8c07470\",\"state\":1,\"objectId\":\"577a9d50550c4dbb9db4e4e3d5b2a353\",\"height\":\"\",\"approvalUserName\":\"赵非\",\"waitDoOrRead\":\"ToDo\",\"approvalState\":\"\",\"chuShiName\":\"法律审计部\",\"gwClassify\":\"\",\"commentBath\":\"\",\"mobileOrPc\":\"\",\"approvalDepartment\":\"法律审计部\",\"approvalDepartmentId\":\"da5343799a363f30e0539751a8c07470\",\"approvalOpinionImgId\":\"\",\"leaderApprovalDate\":null,\"width\":\"\",\"approvalPosition\":\"董事会秘书\",\"biaoTi\":\"\",\"documentId\":\"457e674d13c24122a95d0abbe1c396d6\",\"fontSize\":\"\",\"approvalUserId\":\"f6eea113d5004c9be0539751a8c0a00c\",\"departPostSortNumber\":\"1\",\"counterSignDeptId\":\"\"},{\"approvalOpinionInput\":\"法审部\",\"attachmentFileId\":\"\",\"approvalDate\":\"2024-03-19 15:59:07\",\"attachmentFileName\":\"\",\"displayName\":\"部门相关负责人\",\"optionalFeedbackComment\":\"\",\"approvalDepartmentInfo\":\"法律审计部/京沪高速铁路股份有限公司\",\"approvalOpinion\":\"\",\"counterSignDept\":\"\",\"textField\":\"bu_men_hui_qian\",\"workitemId\":\"ce20fe6b-9899-4ef1-8382-19fd28cc6c89\",\"activityCode\":\"Activity3\",\"isAgree\":1,\"textFieldJson\":\"\",\"departSortNumber\":\"000007\",\"instanceId\":\"80cc304a-76ae-4b93-8816-dd83478ef265\",\"mobileIsShow\":\"\",\"providerId\":\"\",\"departLevel\":\"000007\",\"chuShiId\":\"da5343799a363f30e0539751a8c07470\",\"state\":1,\"objectId\":\"57601138591b4efd860415f5bf2d7c4a\",\"height\":\"\",\"approvalUserName\":\"李杨\",\"waitDoOrRead\":\"ToDo\",\"approvalState\":\"\",\"chuShiName\":\"法律审计部\",\"gwClassify\":\"\",\"commentBath\":\"\",\"mobileOrPc\":\"\",\"approvalDepartment\":\"法律审计部\",\"approvalDepartmentId\":\"da5343799a363f30e0539751a8c07470\",\"approvalOpinionImgId\":\"\",\"leaderApprovalDate\":null,\"width\":\"\",\"approvalPosition\":\"\",\"biaoTi\":\"\",\"documentId\":\"457e674d13c24122a95d0abbe1c396d6\",\"fontSize\":\"\",\"approvalUserId\":\"da52a24fbc5628fee0539751a8c04e48\",\"departPostSortNumber\":\"1\",\"counterSignDeptId\":\"\"},{\"approvalOpinionInput\":\"\",\"attachmentFileId\":\"\",\"approvalDate\":\"2024-03-19 15:38:48\",\"attachmentFileName\":\"\",\"displayName\":\"部门主要负责人\",\"optionalFeedbackComment\":\"\",\"approvalDepartmentInfo\":\"运输管理部/京沪高速铁路股份有限公司\",\"approvalOpinion\":\"\",\"counterSignDept\":\"\",\"textField\":\"bu_men_hui_qian\",\"workitemId\":\"60766f9e-8b33-45af-9765-449a7574f4fa\",\"activityCode\":\"Activity2\",\"isAgree\":1,\"textFieldJson\":\"\",\"departSortNumber\":\"000008\",\"instanceId\":\"cacf8451-b2ff-4325-a9b3-530f5914b34a\",\"mobileIsShow\":\"\",\"providerId\":\"\",\"departLevel\":\"000008\",\"chuShiId\":\"da52a24fbc3428fee0539751a8c04e48\",\"state\":1,\"objectId\":\"552bdd66606440c097f77458acd5edf8\",\"height\":\"\",\"approvalUserName\":\"李桥\",\"waitDoOrRead\":\"ToDo\",\"approvalState\":\"\",\"chuShiName\":\"运输管理部\",\"gwClassify\":\"\",\"commentBath\":\"\",\"mobileOrPc\":\"\",\"approvalDepartment\":\"运输管理部\",\"approvalDepartmentId\":\"da52a24fbc3428fee0539751a8c04e48\",\"approvalOpinionImgId\":\"\",\"leaderApprovalDate\":null,\"width\":\"\",\"approvalPosition\":\"\",\"biaoTi\":\"\",\"documentId\":\"457e674d13c24122a95d0abbe1c396d6\",\"fontSize\":\"\",\"approvalUserId\":\"171049698eb944d1b107170bd517701a\",\"departPostSortNumber\":\"3\",\"counterSignDeptId\":\"\"},{\"approvalOpinionInput\":\"直接结束会签。\",\"attachmentFileId\":\"\",\"approvalDate\":\"2024-03-19 15:37:38\",\"attachmentFileName\":\"\",\"displayName\":\"部门主要负责人\",\"optionalFeedbackComment\":\"\",\"approvalDepartmentInfo\":\"计划财务部/京沪高速铁路股份有限公司\",\"approvalOpinion\":\"\",\"counterSignDept\":\"\",\"textField\":\"bu_men_hui_qian\",\"workitemId\":\"93a110af-b40e-425f-ac29-f327789ec168\",\"activityCode\":\"Activity2\",\"isAgree\":1,\"textFieldJson\":\"\",\"departSortNumber\":\"000006\",\"instanceId\":\"7f4709e4-e4b1-4e9c-9619-a5b5aa753fce\",\"mobileIsShow\":\"\",\"providerId\":\"\",\"departLevel\":\"000006\",\"chuShiId\":\"da52a24fbc3228fee0539751a8c04e48\",\"state\":1,\"objectId\":\"dd01681ab91043dfb99b2272e2ff2093\",\"height\":\"\",\"approvalUserName\":\"裘韬\",\"waitDoOrRead\":\"ToDo\",\"approvalState\":\"\",\"chuShiName\":\"计划财务部\",\"gwClassify\":\"\",\"commentBath\":\"\",\"mobileOrPc\":\"\",\"approvalDepartment\":\"计划财务部\",\"approvalDepartmentId\":\"da52a24fbc3228fee0539751a8c04e48\",\"approvalOpinionImgId\":\"\",\"leaderApprovalDate\":null,\"width\":\"\",\"approvalPosition\":\"主任\",\"biaoTi\":\"\",\"documentId\":\"457e674d13c24122a95d0abbe1c396d6\",\"fontSize\":\"\",\"approvalUserId\":\"7c043707f8984004a532e7902bed4844\",\"departPostSortNumber\":\"1\",\"counterSignDeptId\":\"\"},{\"approvalOpinionInput\":\"输人会签意见。\",\"attachmentFileId\":\"\",\"approvalDate\":\"2024-03-19 15:36:53\",\"attachmentFileName\":\"\",\"displayName\":\"部门主要负责人\",\"optionalFeedbackComment\":\"\",\"approvalDepartmentInfo\":\"法律审计部/京沪高速铁路股份有限公司\",\"approvalOpinion\":\"\",\"counterSignDept\":\"\",\"textField\":\"bu_men_hui_qian\",\"workitemId\":\"0a6956cc-ca77-415c-9089-b107528c7eef\",\"activityCode\":\"Activity2\",\"isAgree\":1,\"textFieldJson\":\"\",\"departSortNumber\":\"000007\",\"instanceId\":\"80cc304a-76ae-4b93-8816-dd83478ef265\",\"mobileIsShow\":\"\",\"providerId\":\"\",\"departLevel\":\"000007\",\"chuShiId\":\"da5343799a363f30e0539751a8c07470\",\"state\":1,\"objectId\":\"e41c8321462049e7b05f5d6190a599c6\",\"height\":\"\",\"approvalUserName\":\"赵非\",\"waitDoOrRead\":\"ToDo\",\"approvalState\":\"\",\"chuShiName\":\"法律审计部\",\"gwClassify\":\"\",\"commentBath\":\"\",\"mobileOrPc\":\"\",\"approvalDepartment\":\"法律审计部\",\"approvalDepartmentId\":\"da5343799a363f30e0539751a8c07470\",\"approvalOpinionImgId\":\"\",\"leaderApprovalDate\":null,\"width\":\"\",\"approvalPosition\":\"董事会秘书\",\"biaoTi\":\"\",\"documentId\":\"457e674d13c24122a95d0abbe1c396d6\",\"fontSize\":\"\",\"approvalUserId\":\"f6eea113d5004c9be0539751a8c0a00c\",\"departPostSortNumber\":\"1\",\"counterSignDeptId\":\"\"},{\"approvalOpinionInput\":\"这个一条常用意见\",\"attachmentFileId\":\"\",\"approvalDate\":\"2024-03-19 15:29:19\",\"attachmentFileName\":\"\",\"displayName\":\"综合部负责人审核\",\"optionalFeedbackComment\":\"\",\"approvalDepartmentInfo\":\"董事会办公室/京沪高速铁路股份有限公司\",\"approvalOpinion\":\"\",\"counterSignDept\":\"\",\"textField\":\"zhb_fu_ze_ren\",\"workitemId\":\"4943cdb8-943a-4240-be5c-5333bc515947\",\"activityCode\":\"Activity8\",\"isAgree\":1,\"textFieldJson\":\"\",\"departSortNumber\":\"000003\",\"instanceId\":\"836c53f8-544c-449a-a4be-de885910de46\",\"mobileIsShow\":\"\",\"providerId\":\"\",\"departLevel\":\"000003\",\"chuShiId\":\"da52a24fbc2828fee0539751a8c04e48\",\"state\":1,\"objectId\":\"3a99dedd80344a5c9743e21c39264af8\",\"height\":\"\",\"approvalUserName\":\"郑勇\",\"waitDoOrRead\":\"ToDo\",\"approvalState\":\"\",\"chuShiName\":\"董事会办公室\",\"gwClassify\":\"\",\"commentBath\":\"\",\"mobileOrPc\":\"\",\"approvalDepartment\":\"董事会办公室\",\"approvalDepartmentId\":\"da52a24fbc2828fee0539751a8c04e48\",\"approvalOpinionImgId\":\"\",\"leaderApprovalDate\":null,\"width\":\"\",\"approvalPosition\":\"主任\",\"biaoTi\":\"\",\"documentId\":\"457e674d13c24122a95d0abbe1c396d6\",\"fontSize\":\"\",\"approvalUserId\":\"3d2e361a695046c08f4aea3634f5a7fa\",\"departPostSortNumber\":\"1\",\"counterSignDeptId\":\"\"},{\"approvalOpinionInput\":\"这个一条常用意见\",\"attachmentFileId\":\"\",\"approvalDate\":\"2024-03-19 15:29:07\",\"attachmentFileName\":\"\",\"displayName\":\"综合部负责人审核\",\"optionalFeedbackComment\":\"\",\"approvalDepartmentInfo\":\"董事会办公室/京沪高速铁路股份有限公司\",\"approvalOpinion\":\"\",\"counterSignDept\":\"\",\"textField\":\"bu_men_hui_qian\",\"workitemId\":\"4943cdb8-943a-4240-be5c-5333bc515947\",\"activityCode\":\"Activity8\",\"isAgree\":1,\"textFieldJson\":\"\",\"departSortNumber\":\"000003\",\"instanceId\":\"836c53f8-544c-449a-a4be-de885910de46\",\"mobileIsShow\":\"\",\"providerId\":\"\",\"departLevel\":\"000003\",\"chuShiId\":\"da52a24fbc2828fee0539751a8c04e48\",\"state\":1,\"objectId\":\"2bd7318075ca42c08114d106773f745e\",\"height\":\"\",\"approvalUserName\":\"郑勇\",\"waitDoOrRead\":\"ToDo\",\"approvalState\":\"\",\"chuShiName\":\"董事会办公室\",\"gwClassify\":\"\",\"commentBath\":\"\",\"mobileOrPc\":\"\",\"approvalDepartment\":\"董事会办公室\",\"approvalDepartmentId\":\"da52a24fbc2828fee0539751a8c04e48\",\"approvalOpinionImgId\":\"\",\"leaderApprovalDate\":null,\"width\":\"\",\"approvalPosition\":\"主任\",\"biaoTi\":\"\",\"documentId\":\"457e674d13c24122a95d0abbe1c396d6\",\"fontSize\":\"\",\"approvalUserId\":\"3d2e361a695046c08f4aea3634f5a7fa\",\"departPostSortNumber\":\"1\",\"counterSignDeptId\":\"\"},{\"approvalOpinionInput\":\"拟同意。\",\"attachmentFileId\":\"\",\"approvalDate\":\"2024-03-19 15:26:48\",\"attachmentFileName\":\"\",\"displayName\":\"综合部核稿\",\"optionalFeedbackComment\":\"\",\"approvalDepartmentInfo\":\"董事会办公室/京沪高速铁路股份有限公司\",\"approvalOpinion\":\"\",\"counterSignDept\":\"\",\"textField\":\"zhb_he_gao\",\"workitemId\":\"65379d45-a369-4938-8d72-8fa2d917a62f\",\"activityCode\":\"Activity9\",\"isAgree\":1,\"textFieldJson\":\"\",\"departSortNumber\":\"000003\",\"instanceId\":\"836c53f8-544c-449a-a4be-de885910de46\",\"mobileIsShow\":\"\",\"providerId\":\"\",\"departLevel\":\"000003\",\"chuShiId\":\"da52a24fbc2828fee0539751a8c04e48\",\"state\":1,\"objectId\":\"9594605d4e23454cbf5486b4e081c095\",\"height\":\"\",\"approvalUserName\":\"刘谦奇\",\"waitDoOrRead\":\"ToDo\",\"approvalState\":\"\",\"chuShiName\":\"董事会办公室\",\"gwClassify\":\"\",\"commentBath\":\"\",\"mobileOrPc\":\"\",\"approvalDepartment\":\"董事会办公室\",\"approvalDepartmentId\":\"da52a24fbc2828fee0539751a8c04e48\",\"approvalOpinionImgId\":\"\",\"leaderApprovalDate\":null,\"width\":\"\",\"approvalPosition\":\"\",\"biaoTi\":\"\",\"documentId\":\"457e674d13c24122a95d0abbe1c396d6\",\"fontSize\":\"\",\"approvalUserId\":\"ce39888b8509444e9ec0b7467d4b0a7d\",\"departPostSortNumber\":\"6\",\"counterSignDeptId\":\"\"},{\"approvalOpinionInput\":\"测试交办。输入意见。\",\"attachmentFileId\":\"\",\"approvalDate\":\"2024-03-19 15:24:33\",\"attachmentFileName\":\"\",\"displayName\":\"部门负责人\",\"optionalFeedbackComment\":\"\",\"approvalDepartmentInfo\":\"董事会办公室/京沪高速铁路股份有限公司\",\"approvalOpinion\":\"\",\"counterSignDept\":\"\",\"textField\":\"ni_gao_bu_men_fu_ze_ren\",\"workitemId\":\"3784eef0-c335-4d7f-9438-b67c5466ce35\",\"activityCode\":\"Activity3\",\"isAgree\":1,\"textFieldJson\":\"\",\"departSortNumber\":\"000003\",\"instanceId\":\"836c53f8-544c-449a-a4be-de885910de46\",\"mobileIsShow\":\"\",\"providerId\":\"\",\"departLevel\":\"000003\",\"chuShiId\":\"da52a24fbc2828fee0539751a8c04e48\",\"state\":1,\"objectId\":\"c81c479efaee4f4c89b47bfa21884561\",\"height\":\"\",\"approvalUserName\":\"李芳代李娟\",\"waitDoOrRead\":\"ToDo\",\"approvalState\":\"\",\"chuShiName\":\"董事会办公室\",\"gwClassify\":\"\",\"commentBath\":\"\",\"mobileOrPc\":\"\",\"approvalDepartment\":\"董事会办公室\",\"approvalDepartmentId\":\"da52a24fbc2828fee0539751a8c04e48\",\"approvalOpinionImgId\":\"\",\"leaderApprovalDate\":null,\"width\":\"\",\"approvalPosition\":\"副主任\",\"biaoTi\":\"\",\"documentId\":\"457e674d13c24122a95d0abbe1c396d6\",\"fontSize\":\"\",\"approvalUserId\":\"5e144dda8d12449d9db3a629a65de0e7\",\"departPostSortNumber\":\"4\",\"counterSignDeptId\":\"\"},{\"approvalOpinionInput\":\"按领导批示要求贯彻落实，请确认。\",\"attachmentFileId\":\"\",\"approvalDate\":\"2024-03-19 15:22:11\",\"attachmentFileName\":\"\",\"displayName\":\"专业负责人审核\",\"optionalFeedbackComment\":\"\",\"approvalDepartmentInfo\":\"党群工作部/京沪高速铁路股份有限公司\",\"approvalOpinion\":\"\",\"counterSignDept\":\"\",\"textField\":\"zhuan_ye_fu_ze_ren\",\"workitemId\":\"3eefe15d-67c4-4784-ad38-0ce2984e90d4\",\"activityCode\":\"Activity34\",\"isAgree\":1,\"textFieldJson\":\"\",\"departSortNumber\":\"000004\",\"instanceId\":\"836c53f8-544c-449a-a4be-de885910de46\",\"mobileIsShow\":\"\",\"providerId\":\"\",\"departLevel\":\"000004\",\"chuShiId\":\"da5343799a343f30e0539751a8c07470\",\"state\":1,\"objectId\":\"9866f0c18e444da98aa86f3800441364\",\"height\":\"\",\"approvalUserName\":\"李娟\",\"waitDoOrRead\":\"ToDo\",\"approvalState\":\"\",\"chuShiName\":\"党群工作部\",\"gwClassify\":\"\",\"commentBath\":\"\",\"mobileOrPc\":\"\",\"approvalDepartment\":\"党群工作部\",\"approvalDepartmentId\":\"da5343799a343f30e0539751a8c07470\",\"approvalOpinionImgId\":\"\",\"leaderApprovalDate\":null,\"width\":\"\",\"approvalPosition\":\"\",\"biaoTi\":\"\",\"documentId\":\"457e674d13c24122a95d0abbe1c396d6\",\"fontSize\":\"\",\"approvalUserId\":\"16727acee2fd40939a8850f2264a5855\",\"departPostSortNumber\":\"2\",\"counterSignDeptId\":\"\"},{\"approvalOpinionInput\":\"\",\"attachmentFileId\":\"\",\"approvalDate\":\"2024-03-19 14:50:07\",\"attachmentFileName\":\"\",\"displayName\":\"拟稿\",\"optionalFeedbackComment\":\"\",\"approvalDepartmentInfo\":\"党群工作部/京沪高速铁路股份有限公司\",\"approvalOpinion\":\"\",\"counterSignDept\":\"\",\"textField\":\"\",\"workitemId\":\"312f08e4-e5ae-42bd-9524-e4b560772b30\",\"activityCode\":\"Activity2\",\"isAgree\":1,\"textFieldJson\":\"\",\"departSortNumber\":\"000004\",\"instanceId\":\"836c53f8-544c-449a-a4be-de885910de46\",\"mobileIsShow\":\"\",\"providerId\":\"\",\"departLevel\":\"000004\",\"chuShiId\":\"da5343799a343f30e0539751a8c07470\",\"state\":1,\"objectId\":\"a25e21b897324d28a2025f15f0461a17\",\"height\":\"\",\"approvalUserName\":\"华夏\",\"waitDoOrRead\":\"\",\"approvalState\":\"\",\"chuShiName\":\"党群工作部\",\"gwClassify\":\"\",\"commentBath\":\"\",\"mobileOrPc\":\"\",\"approvalDepartment\":\"党群工作部\",\"approvalDepartmentId\":\"da5343799a343f30e0539751a8c07470\",\"approvalOpinionImgId\":\"\",\"leaderApprovalDate\":null,\"width\":\"\",\"approvalPosition\":\"\",\"biaoTi\":\"\",\"documentId\":\"457e674d13c24122a95d0abbe1c396d6\",\"fontSize\":\"\",\"approvalUserId\":\"c51997efc72f4e3192369efa6ed282c9\",\"departPostSortNumber\":\"3\",\"counterSignDeptId\":\"\"}],\"temporaryOpinion\":[{\"mobileOrPc\":null,\"objectId\":\"80906610ebc34a8db6cef51eb0917da0\",\"documentId\":\"457e674d13c24122a95d0abbe1c396d6\",\"instanceId\":\"836c53f8-544c-449a-a4be-de885910de46\",\"workitemId\":\"cd5317b2-5813-470d-9a38-657a7db2c072\",\"activityCode\":\"Activity24\",\"displayName\":\"文书\",\"approvalUserId\":\"7ebbd1a9528d451ba17ed5010c2f40a0\",\"approvalUserName\":\"卢华\",\"approvalDepartment\":\"董事会办公室\",\"approvalDepartmentId\":\"da52a24fbc2828fee0539751a8c04e48\",\"approvalDepartmentInfo\":\"董事会办公室/京沪高速铁路股份有限公司\",\"approvalPosition\":null,\"approvalDate\":\"2024-03-19 17:09:19\",\"approvalState\":null,\"approvalOpinion\":null,\"approvalOpinionInput\":null,\"waitDoOrRead\":\"ToDo\",\"approvalOpinionImgId\":null,\"counterSignDept\":null,\"counterSignDeptId\":null,\"leaderApprovalDate\":null,\"attachmentFileId\":null,\"attachmentFileName\":null,\"commentBath\":null,\"optionalFeedbackComment\":null,\"departLevel\":\"000003\",\"departSortNumber\":\"000003\",\"departPostSortNumber\":\"3\",\"textField\":null,\"mobileIsShow\":null,\"textFieldJson\":null,\"state\":0,\"isAgree\":1,\"providerId\":null,\"chuShiId\":\"da52a24fbc2828fee0539751a8c04e48\",\"chuShiName\":\"董事会办公室\",\"height\":null,\"width\":null,\"fontSize\":null,\"biaoTi\":null,\"gwClassify\":null}],\"feedBackOpinion\":[],\"zhb_he_gao\":[{\"approvalOpinionInput\":\"拟同意。\",\"attachmentFileId\":\"\",\"approvalDate\":\"2024-03-19 15:26:48\",\"attachmentFileName\":\"\",\"displayName\":\"综合部核稿\",\"optionalFeedbackComment\":\"\",\"approvalDepartmentInfo\":\"董事会办公室/京沪高速铁路股份有限公司\",\"approvalOpinion\":\"\",\"counterSignDept\":\"\",\"textField\":\"zhb_he_gao\",\"workitemId\":\"65379d45-a369-4938-8d72-8fa2d917a62f\",\"activityCode\":\"Activity9\",\"isAgree\":1,\"textFieldJson\":\"\",\"departSortNumber\":\"000003\",\"instanceId\":\"836c53f8-544c-449a-a4be-de885910de46\",\"mobileIsShow\":\"\",\"providerId\":\"\",\"departLevel\":\"000003\",\"chuShiId\":\"da52a24fbc2828fee0539751a8c04e48\",\"state\":1,\"objectId\":\"9594605d4e23454cbf5486b4e081c095\",\"height\":\"\",\"approvalUserName\":\"刘谦奇\",\"waitDoOrRead\":\"ToDo\",\"approvalState\":\"\",\"chuShiName\":\"董事会办公室\",\"gwClassify\":\"\",\"commentBath\":\"\",\"mobileOrPc\":\"\",\"approvalDepartment\":\"董事会办公室\",\"approvalDepartmentId\":\"da52a24fbc2828fee0539751a8c04e48\",\"approvalOpinionImgId\":\"\",\"leaderApprovalDate\":null,\"width\":\"\",\"approvalPosition\":\"\",\"biaoTi\":\"\",\"documentId\":\"457e674d13c24122a95d0abbe1c396d6\",\"fontSize\":\"\",\"approvalUserId\":\"ce39888b8509444e9ec0b7467d4b0a7d\",\"departPostSortNumber\":\"6\",\"counterSignDeptId\":\"\"}],\"zhb_fu_ze_ren\":[{\"approvalOpinionInput\":\"这个一条常用意见\",\"attachmentFileId\":\"\",\"approvalDate\":\"2024-03-19 15:29:19\",\"attachmentFileName\":\"\",\"displayName\":\"综合部负责人审核\",\"optionalFeedbackComment\":\"\",\"approvalDepartmentInfo\":\"董事会办公室/京沪高速铁路股份有限公司\",\"approvalOpinion\":\"\",\"counterSignDept\":\"\",\"textField\":\"zhb_fu_ze_ren\",\"workitemId\":\"4943cdb8-943a-4240-be5c-5333bc515947\",\"activityCode\":\"Activity8\",\"isAgree\":1,\"textFieldJson\":\"\",\"departSortNumber\":\"000003\",\"instanceId\":\"836c53f8-544c-449a-a4be-de885910de46\",\"mobileIsShow\":\"\",\"providerId\":\"\",\"departLevel\":\"000003\",\"chuShiId\":\"da52a24fbc2828fee0539751a8c04e48\",\"state\":1,\"objectId\":\"3a99dedd80344a5c9743e21c39264af8\",\"height\":\"\",\"approvalUserName\":\"郑勇\",\"waitDoOrRead\":\"ToDo\",\"approvalState\":\"\",\"chuShiName\":\"董事会办公室\",\"gwClassify\":\"\",\"commentBath\":\"\",\"mobileOrPc\":\"\",\"approvalDepartment\":\"董事会办公室\",\"approvalDepartmentId\":\"da52a24fbc2828fee0539751a8c04e48\",\"approvalOpinionImgId\":\"\",\"leaderApprovalDate\":null,\"width\":\"\",\"approvalPosition\":\"主任\",\"biaoTi\":\"\",\"documentId\":\"457e674d13c24122a95d0abbe1c396d6\",\"fontSize\":\"\",\"approvalUserId\":\"3d2e361a695046c08f4aea3634f5a7fa\",\"departPostSortNumber\":\"1\",\"counterSignDeptId\":\"\"}]}}";
        String serviceTable = "oa_jh_fawen";

        String archiveUrl = "/Users/libin/temp/doms/";
        String url = "http://192.168.82.118:8080";


        Map data = objectMapper.readValue(d, Map.class);
        Map<String, Object> dd = (Map<String, Object>) data.get("data");
        Map<String, Object> documentMap = (Map<String, Object>) dd.get("data");
        List<Map<String, Object>> fileList = (List<Map<String, Object>>) documentMap.get("attachmentList");

        Map emergency = objectMapper.readValue(jjcd, Map.class);
        List<Map<String, Object>> jjcdList = (List<Map<String, Object>>) emergency.get("data");

        List<Map<String, Object>> lwlbList = new ArrayList<>();

        Map spyj = objectMapper.readValue(sp, Map.class);
        Map<String, Object> opinionMap = (Map<String, Object>) spyj.get("data");
        List<Map<String, Object>> opinionList = (List<Map<String, Object>>) opinionMap.get("allOpinion");


        //转换公文数据格式,用来准备生成xml文件
        GDVo gdVo = GDUtil.convertGDVo1(serviceTable, documentMap, jjcdList, lwlbList);
        //转换审批意见数据格式，用来准备生成xml文件
        List<GDYJVo> gdyjVo = GDUtil.convertGDVo2(opinionList);
        //处理文件集合，获取并设置md5的值
        getMD5(fileList);

        //因为这里文件需要排序，发文的发文稿纸要求放到附件和其他文件中间，为了保证要求的顺序拆成正文附件 和 除正文、附件外其他文件
        //convertGDFileVo1、convertGDFileVo2、getOpinionFileList 接口中的gdVo参数是为了统计文件总数、文件总大小、文件扩展名合集，和报表有关的文件统计在调用报表时处理
        List<GDFileVo> list1 = GDUtil.convertGDFileVo1(fileList, gdVo);//处理正文、附件
        List<GDFileVo> list2 = GDUtil.convertGDFileVo2(fileList, gdVo);//处理除正文、附件外其他文件
        List<GDFileVo> list3 = getOpinionFileList(opinionList, gdVo);//获取审批意见中的意见另附页


        //LocalDate now = LocalDate.now();
        //String dateUrl = now.getYear() + "/" + now.getMonthValue() + "/" + now.getDayOfMonth() + "/";
        String dateUrl = "/";//测试先去掉时间目录

        String uuid = gdVo.getId();
        //最外层文件夹
        File f1 = new File(archiveUrl + dateUrl + uuid);
        //Attachment文件夹
        File f2 = new File(archiveUrl + dateUrl + uuid + "/" + "Attachment");
        // Attachment文件夹中的附件文件夹
        File f3 = new File(archiveUrl + dateUrl + uuid + "/" + "Attachment" + "/" + uuid);
        //DataSet.xml文件
        File f4 = new File(archiveUrl + dateUrl + uuid + "/" + "DataSet.xml");
        //稿纸文件
        File f5 = new File(archiveUrl + dateUrl + uuid + "/" + "Attachment" + "/" + uuid + "/" + "稿纸.pdf");
        //审批意见文件
        File f6 = new File(archiveUrl + dateUrl + uuid + "/" + "Attachment" + "/" + uuid + "/" + "审批意见.pdf");
        //signature文件
        //File f7 = new File(ARCHIVE_URL + dateUrl + uuid + "/" + "signature");

        if (!f1.exists()) {
            f1.mkdirs();
        }
        if (!f2.exists()) {
            f2.mkdirs();
        }
        if (!f3.exists()) {
            f3.mkdirs();
        }
        if (!f4.exists()) {
            try {
                f4.createNewFile();
            } catch (IOException e) {
                e.printStackTrace();
            }
        }


        try {
            //1.调用报表服务生成稿纸pdf文件并拷贝到指定目录
            GDFileVo bbGDFileVo = new GDFileVo();
            String result_bb = createBbFile(gdVo, null, serviceTable, null, f5.getAbsolutePath(), bbGDFileVo);
            System.out.println("创建稿纸文件" + result_bb);

            //调用报表服务生成审批意见pdf文件并拷贝到指定目录
            GDFileVo spyjGDFileVo = new GDFileVo();
            String result_spyj = createSpyjFile(gdVo, null,  serviceTable, null, f6.getAbsolutePath(), spyjGDFileVo);
            System.out.println("创建审批意见文件" + result_spyj);

            //2.创建DataSet.xml数据文件
            String result_xml = GDUtil.createXmlOa(f4.getAbsolutePath(), gdVo, list1, list2, list3, gdyjVo, bbGDFileVo,spyjGDFileVo);
            System.out.println("创建xml文件" + result_xml);

            //3.拷贝除稿纸文件外的文件到指定目录
            for (GDFileVo gdFileVo : list1) {
                String s = f3.getAbsolutePath() + "/" + gdFileVo.getFilename();
                copy(gdFileVo.getId(), s, false);
            }

            for (GDFileVo gdFileVo : list2) {
                String s = f3.getAbsolutePath() + "/" + gdFileVo.getFilename();
                copy(gdFileVo.getId(), s, false);
            }

            for (GDFileVo gdFileVo : list3) {
                String s = f3.getAbsolutePath() + "/" + gdFileVo.getFilename();
                copy(gdFileVo.getId(), s, false);
            }


            //4.压缩指定目录
            String zipFilePath = archiveUrl + uuid + ".zip";
            try (ZipOutputStream zipOut = new ZipOutputStream(new FileOutputStream(zipFilePath))) {
                GDUtil.addFolderToZip(f2, "", zipOut);
                GDUtil.addFolderToZip(f4, "", zipOut);
                System.out.println("生成归档zip成功");
            } catch (IOException e) {
                e.printStackTrace();
                throw new Exception("生成归档zip失败" + e.getMessage());
            }


            //删除生成的zip以及文件夹
            //if (zipFilePath != null && !zipFilePath.equals("") && zipFilePath.startsWith(archiveUrl)) {
            //    if (zipFilePath.length() > 10) {//增加路径长度验证，以防路径配置错误时删除"/"或者"/data"等目录
            //        File f = new File(zipFilePath);
            //        if (f.isFile()) {
            //            f.delete();
            //            String substring = zipFilePath.substring(0, zipFilePath.lastIndexOf("."));
            //            System.out.println(substring);
            //            if (substring.startsWith(archiveUrl) && substring.length() > 10) {//增加路径长度验证，以防路径配置错误时删除"/"或者"/data"等目录
            //                deleteDirectory(new File(substring));
            //            }
            //        }
            //    }
            //}
        } catch (Exception e) {
            e.printStackTrace();
        }
        return null;
    }

    /**
     * 递归删除文件夹及其内容
     *
     * @param dir 要删除的文件夹
     * @return 是否删除成功
     */
    public static boolean deleteDirectory(File dir) {
        if (dir.isDirectory()) {
            // 获取文件夹下的所有文件和子文件夹
            File[] files = dir.listFiles();
            if (files != null) {
                for (File file : files) {
                    // 递归删除子文件夹或文件
                    if (!deleteDirectory(file)) {
                        return false;
                    }
                }
            }
        }
        // 删除当前文件夹或文件
        return dir.delete();
    }

    /**
     * 调用报表服务生成稿纸pdf文件
     *
     * @param rpx
     * @param serviceTable
     * @param token
     * @param fileUrl
     */
    private String createBbFile(GDVo gdVo, String rpx, String serviceTable, String token, String fileUrl, GDFileVo bbGdFileVo) {
        StringBuilder url = new StringBuilder();
        url.append("http://192.168.82.118:8080/demo/reportServlet?action=6&file=gw/jh_fawen_shenjiyijianshu.rpx&srcType=file&paged=1&print=1&paramString=rpx=gw/jh_fawen_shenjiyijianshu.rpx;object_id=457e674d13c24122a95d0abbe1c396d6;token=7f1989601aaf4462862453a7ba926d1c;service_table=oa_jh_fawen;instanceId=836c53f8-544c-449a-a4be-de885910de46;");
        //url.append(archiveUrl)
        //        .append("?action=6&srcType=file&paged=1&print=1")
        //        .append("&file=").append(rpx)
        //        .append("&paramString=")
        //        .append("rpx=").append(rpx)
        //        .append(";object_id=").append(oaOpinion.getObjectId())
        //        .append(";service_table=").append(serviceTable)
        //        .append(";workitemId=").append(oaOpinion.getWorkitemId())
        //        .append(";instanceId=").append(oaOpinion.getInstanceId())
        //        .append(";token=").append(token).append(";");

        // 发起 GET 请求并接收响应
        ResponseEntity<byte[]> response = restTemplate.getForEntity(url.toString(), byte[].class);

        // 检查响应状态码是否为 200 OK
        if (response.getStatusCode().is2xxSuccessful()) {
            // 获取响应体中的字节数组
            byte[] fileBytes = response.getBody();

            // 定义保存文件的路径
            Path path = Paths.get(fileUrl);

            try {
                // 将字节数组写入文件
                Files.write(path, fileBytes);

                gdVo.setFilecount(gdVo.getFilecount() + 1);
                gdVo.setFilesize(fileBytes.length);
                gdVo.setFileext(gdVo.getFileext() + "pdf、");


                bbGdFileVo.setShowname("稿纸.pdf");
                bbGdFileVo.setFilename("稿纸.pdf");
                bbGdFileVo.setMd5(MD5Util.getByteMD5(fileBytes));
                bbGdFileVo.setFileext("pdf");
                bbGdFileVo.setFilesize(String.valueOf(fileBytes.length));
                bbGdFileVo.setType("gz");
                bbGdFileVo.setTypename(GDUtil.getTypeName("gz"));
                bbGdFileVo.setNumbers("");
                bbGdFileVo.setId("");
                return "成功";
            } catch (IOException e) {
                e.printStackTrace();
                return "失败" + e.getMessage();
            }
        } else {
            System.err.println("失败，状态码: " + response.getStatusCodeValue());
        }

        return "";
    }

    /**
     * 调用报表服务生成审批意见pdf文件
     *
     * @param serviceTable
     * @param token
     * @param fileUrl
     */
    private String createSpyjFile(GDVo gdVo,  String rpx, String serviceTable, String token, String fileUrl, GDFileVo bbGdFileVo) {
        StringBuilder url = new StringBuilder();
        url.append("http://192.168.82.118:8080/demo/reportServlet?action=6&file=gw/approvalOpinion.rpx&srcType=file&paged=1&print=1&paramString=rpx=gw/approvalOpinion.rpx;object_id=453ed63d35af475dbce0fa7a5770e6c4;token=7f1989601aaf4462862453a7ba926d1c;service_table=oa_jh_fawen;instanceId=5ad7e058-cc40-4868-bcac-d46359a05096;");
        //url.append(baobiaoUrl)
        //        .append("/demo/reportServlet?action=6&srcType=file&paged=1&print=1")
        //        .append("&file=").append("gw/approvalOpinion.rpx")
        //        .append("&paramString=")
        //        .append("rpx=").append("gw/approvalOpinion.rpx")
        //        .append(";object_id=").append(oaOpinion.getObjectId())
        //        .append(";service_table=").append(serviceTable)
        //        .append(";workitemId=").append(oaOpinion.getWorkitemId())
        //        .append(";instanceId=").append(oaOpinion.getInstanceId())
        //        .append(";token=").append(token).append(";");

        // 发起 GET 请求并接收响应
        ResponseEntity<byte[]> response = restTemplate.getForEntity(url.toString(), byte[].class);

        // 检查响应状态码是否为 200 OK
        if (response.getStatusCode().is2xxSuccessful()) {
            // 获取响应体中的字节数组
            byte[] fileBytes = response.getBody();

            // 定义保存文件的路径
            Path path = Paths.get(fileUrl);

            try {
                // 将字节数组写入文件
                Files.write(path, fileBytes);

                gdVo.setFilecount(gdVo.getFilecount() + 1);
                gdVo.setFilesize(fileBytes.length);
                gdVo.setFileext(gdVo.getFileext() + "pdf、");


                bbGdFileVo.setShowname("审批意见.pdf");
                bbGdFileVo.setFilename("审批意见.pdf");
                bbGdFileVo.setMd5(MD5Util.getByteMD5(fileBytes));
                bbGdFileVo.setFileext("pdf");
                bbGdFileVo.setFilesize(String.valueOf(fileBytes.length));
                bbGdFileVo.setType("spyj");
                bbGdFileVo.setTypename(GDUtil.getTypeName("spyj"));
                bbGdFileVo.setNumbers("");
                bbGdFileVo.setId("");
                return "成功";
            } catch (IOException e) {
                e.printStackTrace();
                return "失败" + e.getMessage();
            }
        } else {
            System.err.println("失败，状态码: " + response.getStatusCodeValue());
        }

        return "";
    }

    /**
     * @param fileId 文件id
     * @param dst    目标路径
     * @param append 是否是追加拷贝
     * @throws Exception 复制文件，支持把源文件内容追加到目标文件末尾
     */
    public static void copy(String fileId, String dst, boolean append) throws Exception {
        int BUFFER_SIZE = 4096;
        InputStream in = null;
        OutputStream out = null;
        try {
            File f = new File("/Users/libin/temp/dom/测试文档.docx");
            in = new FileInputStream(f);
            //in = minIOService.downloadFileStream(fileId);
            out = new BufferedOutputStream(new FileOutputStream(dst, append), BUFFER_SIZE);
            byte[] buffer = new byte[BUFFER_SIZE];
            int len = 0;
            while ((len = in.read(buffer)) > 0) {
                out.write(buffer, 0, len);
            }
        } catch (Exception e) {
            throw e;
        } finally {
            if (null != in) {
                try {
                    in.close();
                } catch (IOException e) {
                    e.printStackTrace();
                }
                in = null;
            }
            if (null != out) {
                try {
                    out.close();
                } catch (IOException e) {
                    e.printStackTrace();
                }
                out = null;
            }
        }
    }

    /**
     * 获取md5
     *
     * @param list
     */
    public static void getMD5(List<Map<String, Object>> list) {
        if (list == null || list.size() == 0) {
            return;
        }
        for (Map<String, Object> m : list) {
            try {
                if (m.get("object_id") == null || "".equals(m.get("object_id"))) {
                    m.put("md5", "");
                    continue;
                }
                //InputStream inputStream = minIOService.downloadFileStream(m.get("object_id").toString());
                //String s = MD5Util.computeFileMD5(inputStream);
                //m.put("md5", s);

                m.put("md5", "md5md5md5md5md5md5md5md5");
            } catch (Exception e) {
                e.printStackTrace();
            }
        }
    }

    /**
     * 获取md5
     *
     * @param fileId
     * @return
     */
    public String getMD5(String fileId) {
        if (fileId == null || "".equals(fileId)) {
            return "";
        }
        try {
            //InputStream inputStream = minIOService.downloadFileStream(fileId);
            //String s = MD5Util.computeFileMD5(inputStream);
            //return s;

            return "yjlfmd5md5md5md5md5";
        } catch (Exception e) {
            e.printStackTrace();
        }
        return "";
    }


    /**
     * 处理意见另附页文件
     *
     * @param opinionList
     * @return
     */
    private static List<GDFileVo> getOpinionFileList(List<Map<String, Object>> opinionList, GDVo gdVo) {
        if (opinionList == null || opinionList.size() == 0) {
            return new ArrayList<GDFileVo>();
        }
        List<GDFileVo> fileList = new ArrayList<>();

        int filecount = 0;
        int filesize = 0;
        StringBuilder fileext = new StringBuilder();

        for (Map<String, Object> map : opinionList) {
            if (map.get("attachmentFileId") != null && !"".equals(map.get("attachmentFileId"))) {
                //String attachmentFileId = map.get("attachmentFileId").toString();
                //OaFile2 oaFile2 = minIOService.selectOaFileById(attachmentFileId);
                //GDFileVo gdFileVo = new GDFileVo();
                //gdFileVo.setFilename(map.get("show_name") != null ? map.get("show_name").toString() : "");
                //gdFileVo.setShowname(map.get("real_name") != null ? map.get("real_name").toString() : "");
                //gdFileVo.setFilesize(oaFile2.getFileSize() != null ? String.valueOf(oaFile2.getFileSize()) : "");
                //gdFileVo.setMd5(getMD5(oaFile2.getObjectId()));
                //gdFileVo.setFileext((oaFile2.getShowName() != null && !"".equals(oaFile2.getShowName())) ? oaFile2.getShowName().substring(oaFile2.getShowName().lastIndexOf("." + 1)) : "");
                //gdFileVo.setType("yjlfy");
                //gdFileVo.setTypename(GDUtil.getTypeName("yjlfy"));
                //gdFileVo.setId(attachmentFileId);


                String attachmentFileId = map.get("attachmentFileId").toString();
                GDFileVo gdFileVo = new GDFileVo();
                gdFileVo.setFilename("yjlfy.docx");
                gdFileVo.setShowname("意见另附页文件.docx");
                gdFileVo.setFilesize("1");
                gdFileVo.setMd5("dd");
                gdFileVo.setFileext("docx");
                gdFileVo.setType("yjlfy");
                gdFileVo.setTypename(GDUtil.getTypeName("yjlfy"));
                gdFileVo.setId(attachmentFileId);


                //处理文件时计算文件总和
                filecount++;
                filesize += gdFileVo.getFilesize() != null ? Integer.valueOf(gdFileVo.getFilesize().equals("") != true ? gdFileVo.getFilesize() : "0") : 0;
                fileext.append(gdFileVo.getFileext() != null ? gdFileVo.getFileext() + "、" : "");

                fileList.add(gdFileVo);
            }
        }

        gdVo.setFilecount(gdVo.getFilecount() + filecount);
        gdVo.setFilesize(gdVo.getFilesize() + filesize);
        gdVo.setFileext(gdVo.getFileext() + fileext);

        return fileList;
    }

}
